更改null操作

This commit is contained in:
橙子
2023-01-05 20:32:58 +08:00
parent efbf799218
commit b7c9b84449
25 changed files with 71 additions and 76 deletions

View File

@@ -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; }
}
}