This commit is contained in:
sunkaixuan
2017-05-18 13:28:34 +08:00
parent 6439f00a4c
commit 78849cff31
4 changed files with 13 additions and 11 deletions

View File

@@ -14,8 +14,8 @@ namespace OrmTest.Models
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "ID")]
public int Id { get; set; }
public string Name { get; set; }
public int SchoolId { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
[SugarColumn(IsIgnore=true)]
[NotMappedAttribute]