Update demo

This commit is contained in:
sunkaixuan
2022-07-30 14:58:21 +08:00
parent 879e9dcfcb
commit 7b49419f78
6 changed files with 49 additions and 169 deletions

View File

@@ -32,7 +32,7 @@ namespace OrmTest
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int Id { get; set; }
public string Name { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)")]//custom
[SugarColumn(ColumnDataType = "string")]//custom
public string Text { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime CreateTime { get; set; }