mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update demo
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user