- 调整 ColumnAttribute IsNullable 对 int/long 等值类型也可生效;#384

This commit is contained in:
28810
2020-07-29 13:19:47 +08:00
parent de86beba4f
commit a8d1db8614
4 changed files with 13 additions and 4 deletions

View File

@ -94,10 +94,13 @@ namespace EMSServerModel.Model
/// <summary>
/// 职务编号
/// </summary>
[JsonProperty]
public long? TitleId { get; set; }
[JsonProperty, Column(IsNullable = true)]
public long TitleId { get; set; }
[JsonProperty]
public long TitleId2 { get; set; }
///// <summary>
///// 创建时间
///// </summary>