Update demo

This commit is contained in:
sunkaixuna
2021-04-24 12:49:56 +08:00
parent a691629448
commit d35ddc8cc5
2 changed files with 8 additions and 19 deletions

View File

@@ -14,18 +14,6 @@ namespace OrmTest
public decimal? Price { get; set; }
[SqlSugar.SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SqlSugar.SugarColumn(IsNullable = true)]
public string OrderName { get; set; }
}
[SqlSugar.SugarTable("OrderDetail")]
public class VOrderItem
{
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int ItemId { get; set; }
public int OrderId { get; set; }
public decimal? Price { get; set; }
[SqlSugar.SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SqlSugar.SugarColumn(IsIgnore = true)]
public string OrderName { get; set; }
}