mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update demo
This commit is contained in:
@@ -18,7 +18,7 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
[SqlSugar.SugarColumn(IndexGroupNameList = new string[] { "group1" })]
|
[SqlSugar.SugarColumn(IndexGroupNameList = new string[] { "group1" })]
|
||||||
public int Id { get; set; }
|
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; }
|
public DateTime? CreateDate { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user