Update Demo

This commit is contained in:
sunkaixuan
2017-09-15 13:33:52 +08:00
parent 5dd77d91e9
commit fef5049e24
2 changed files with 18 additions and 2 deletions

View File

@@ -19,4 +19,15 @@ namespace OrmTest.Models
[SugarColumn(IsIgnore=true)]
public int TestId { get; set; }
}
public class StudentTest
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "ID")]
public int Id { get; set; }
public int? SchoolId { get; set; }
public string Name { get; set; }
public DateTime? CreateTime { get; set; }
[SugarColumn(IsIgnore = true)]
public int TestId { get; set; }
}
}