84 lines
1.7 KiB
C#
84 lines
1.7 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DOAN.Model.MES.mm.Dto
|
|
{
|
|
/// <summary>
|
|
/// 物料需求计划查询对象
|
|
/// </summary>
|
|
public class MmRequirePlanQueryDto : PagerInfo
|
|
{
|
|
public string MaterialCode { get; set; }
|
|
|
|
public string MaterialName { get; set; }
|
|
|
|
public DateTime? RequireDate { get; set; }
|
|
}
|
|
public class MmRequirePlanQueryDto2 : PagerInfo
|
|
{
|
|
public string MaterialCode { get; set; }
|
|
|
|
public string MaterialName { get; set; }
|
|
|
|
public DateTime RequireDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产线code
|
|
/// </summary>
|
|
public string line_code { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料需求计划输入输出对象
|
|
/// </summary>
|
|
public class MmRequirePlanDto
|
|
{
|
|
[Required(ErrorMessage = "id不能为空")]
|
|
public string Id { get; set; }
|
|
|
|
public string MaterialCode { get; set; }
|
|
|
|
public string MaterialName { get; set; }
|
|
|
|
public decimal RequireNum { get; set; }
|
|
|
|
/// <summary>
|
|
/// 库存数量
|
|
/// </summary>
|
|
public decimal WhQuantity { get; set; }
|
|
|
|
/// <summary>
|
|
/// 缺料数量
|
|
/// </summary>
|
|
public decimal LackQuantity { get; set; }
|
|
|
|
public DateTime? RequireDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 所属工单
|
|
/// </summary>
|
|
public string WorkorderArray { get; set; }
|
|
|
|
public int? IsSufficient { get; set; }
|
|
|
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |