更改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

@@ -30,22 +30,22 @@ namespace Yi.Framework.Model.ERP.Entitys
/// <summary>
/// 采购单号
/// </summary>
public string Code { get; set; }
public string Code { get; set; }=string.Empty;
/// <summary>
/// 需求时间
/// </summary>
public DateTime NeedTime { get; set; }
public DateTime? NeedTime { get; set; }
/// <summary>
/// 采购员
/// </summary>
public string Buyer { get; set; }
public string? Buyer { get; set; }
/// <summary>
/// 总共金额
/// </summary>
public float TotalMoney { get; set; }
public float TotalMoney { get; set; }
/// <summary>
/// 已支付金额
@@ -55,7 +55,8 @@ namespace Yi.Framework.Model.ERP.Entitys
/// <summary>
/// 采购状态
/// </summary>
public PurchaseStateEnum PurchaseState { get; set; }
public PurchaseStateEnum PurchaseState { get; set; } = PurchaseStateEnum.Build;
}
public enum PurchaseStateEnum