using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
namespace WIDESEA_DTO.MES
{
///
/// MES领料计划接收实体
///
[ModelValidate]
public class OutMESOrderDTO
{
///
/// 出库来源明细ID
///
[PropertyValidate("出库来源明细ID", NotNullAndEmpty = true)]
public int OutDetailId { get; set; }
///
/// 仓库代号
///
[PropertyValidate("纸质收货单主表ID", NotNullAndEmpty = false)]
public string WarehouseCode { get; set; }
///
/// 生产订单编码
///
[PropertyValidate("生产订单编码", NotNullAndEmpty = true)]
public string ProductOrderNo { get; set; }
///
/// 派单工单编码
///
[PropertyValidate("派单工单编码", NotNullAndEmpty = true)]
public string SendOrderNo { get; set; }
///
/// 物料编码
///
[PropertyValidate("物料编码", NotNullAndEmpty = true)]
public string MaterialCode { get; set; }
///
/// 物料批次
///
[PropertyValidate("物料批次", NotNullAndEmpty = false)]
public string MaterialLot { get; set; }
///
/// 物料等级
///
[PropertyValidate("物料等级", NotNullAndEmpty = false)]
public string GradeCode { get; set; }
///
/// 物料需求数量
///
[PropertyValidate("物料需求数量", NotNullAndEmpty = true)]
public decimal ReqQuantity { get; set; }
///
/// 加工中心编码(机台)
///
[PropertyValidate("加工中心编码(机台)", NotNullAndEmpty = true)]
public string MakeCode { get; set; }
///
/// 计划领料时间
///
[PropertyValidate("计划领料时间", NotNullAndEmpty = true)]
public DateTime PlanDate { get; set; }
///
/// 结束时间
///
[PropertyValidate("结束时间", NotNullAndEmpty = true)]
public DateTime EndDate { get; set; }
}
}