mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 调整 ColumnAttribute IsNullable 对 int/long 等值类型也可生效;#384
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user