Add TDengine Test

This commit is contained in:
sunkaixuan
2023-07-31 18:55:12 +08:00
parent 2f1c8790c0
commit 07e20bb53e
34 changed files with 2077 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class Order
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
[SugarColumn(ColumnDescription ="名称")]
public string Name { get; set; }
[SugarColumn(ColumnDescription = "价格")]
public decimal Price { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime CreateTime { get; set; }
[SugarColumn(IsNullable =true)]
public int CustomId { get; set; }
[SugarColumn(IsIgnore = true)]
public List<OrderItem> Items { get; set; }
}
}