Update demo

This commit is contained in:
sunkaixuan 2019-06-04 20:50:17 +08:00
parent 2c7c9f77cb
commit a1b5a40569

View File

@ -18,7 +18,7 @@ namespace OrmTest
{
[SqlSugar.SugarColumn(IndexGroupNameList = new string[] { "group1" })]
public int Id { get; set; }
[SqlSugar.SugarColumn(DefaultValue="getdate()", IndexGroupNameList =new string[] {"group1" } )]
[SqlSugar.SugarColumn(DefaultValue="sysdate", IndexGroupNameList =new string[] {"group1" } )]
public DateTime? CreateDate { get; set; }
}
}