mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update PgSql
This commit is contained in:
@@ -12,7 +12,7 @@ namespace OrmTest.Models
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(Length = 50)]
|
||||
[SugarColumn(Length = 50,IsNullable =true)]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -13,9 +13,11 @@ namespace OrmTest.Models
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "ID")]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(IsNullable =true)]
|
||||
public int? SchoolId { get; set; }
|
||||
[SugarColumn(Length =50)]
|
||||
[SugarColumn(Length =50,IsNullable =true)]
|
||||
public string Name { get; set; }
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public DateTime? CreateTime { get; set; }
|
||||
[SugarColumn(IsIgnore=true)]
|
||||
public int TestId { get; set; }
|
||||
|
Reference in New Issue
Block a user