更改null操作
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Yi.Framework.Model.ERP.Entitys
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ValueToStringConverter))]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public long Id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 租户id
|
||||
@@ -30,16 +30,16 @@ namespace Yi.Framework.Model.ERP.Entitys
|
||||
/// <summary>
|
||||
/// 单位编码
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
public string Code { get; set; }=string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 单位名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
public string Name { get; set; }=string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remarks { get; set; }
|
||||
public string? Remarks { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user