This commit is contained in:
sunkaixuan
2017-05-22 01:01:37 +08:00
parent a3dcf0de83
commit f1c6d73503
2 changed files with 2 additions and 2 deletions

View File

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