消除warning
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// 工单id
|
||||
/// </summary>
|
||||
|
||||
public string mo_id { get; set; }
|
||||
public string mo_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工单代码
|
||||
@@ -32,11 +32,11 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string material_name { get; set; }
|
||||
public string material_name { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// 物料规格型号
|
||||
/// </summary>
|
||||
public string material_standard { get; set; }
|
||||
public string material_standard { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工单类型:1-正常工单、2-返工工单、3-试制工单
|
||||
@@ -51,37 +51,37 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 计划生产数量
|
||||
/// </summary>
|
||||
public string plan_qty { get; set; }
|
||||
public string plan_qty { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 已投入数量
|
||||
/// </summary>
|
||||
public string input_qty { get; set; }
|
||||
public string input_qty { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 已完工数量
|
||||
/// </summary>
|
||||
public string complete_qty { get; set; }
|
||||
public string complete_qty { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 报废数量
|
||||
/// </summary>
|
||||
public string scrap_qty { get; set; }
|
||||
public string scrap_qty { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 计划开始时间
|
||||
/// </summary>
|
||||
public string plan_start_date { get; set; }
|
||||
public string plan_start_date { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 计划结束时间
|
||||
/// </summary>
|
||||
public string plan_end_date { get; set; }
|
||||
public string plan_end_date { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否生派工单
|
||||
/// </summary>
|
||||
public string is_create_dispatch { get; set; }
|
||||
public string is_create_dispatch { get; set; } = string.Empty;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -92,7 +92,7 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 是否合并
|
||||
/// </summary>
|
||||
public string is_merge { get; set; }
|
||||
public string is_merge { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 组合工单
|
||||
@@ -112,7 +112,7 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string create_time { get; set; }
|
||||
public string create_time { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
@@ -122,7 +122,7 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public string modify_time { get; set; }
|
||||
public string modify_time { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
@@ -131,23 +131,23 @@ namespace Tnb.ProductionMgr.Entities.Dto.PrdManage
|
||||
/// <summary>
|
||||
/// 已排产数量
|
||||
/// </summary>
|
||||
public string scheduled_qty { get; set; }
|
||||
public string scheduled_qty { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// 父工单id
|
||||
/// </summary>
|
||||
public string parent_id { get; set; }
|
||||
public string parent_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取节点id.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string id { get; set; }
|
||||
public string id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取节点父id.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string parentId { get; set; }
|
||||
public string parentId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否有子级.
|
||||
|
||||
Reference in New Issue
Block a user