using SqlSugar;
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 MESProInDTO
{
///
/// 生产订单编码(上游)
///
[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 = true)]
public string MaterialLot { get; set; }
///
/// 物料等级
///
[PropertyValidate("物料等级", NotNullAndEmpty = true)]
public string GradeCode { get; set; }
///
/// 物料数量
///
[PropertyValidate("物料数量", NotNullAndEmpty = true)]
public decimal ProQuantity { get; set; }
///
/// 物料条码
///
[PropertyValidate("物料条码", NotNullAndEmpty = true)]
public string BarCode { get; set; }
///
/// 加工中心编码(机台)
///
[PropertyValidate("加工中心编码", NotNullAndEmpty = true)]
public string MakeCode { get; set; }
///
/// 是否尾箱
///
[PropertyValidate("是否尾箱", NotNullAndEmpty = true)]
public bool IsMantissa { get; set; }
///
/// 位置编号
///
[PropertyValidate("位置编号", NotNullAndEmpty = true)]
public string PointCode { get; set; }
///
/// 卷径
///
[PropertyValidate("卷径", NotNullAndEmpty = true)]
public decimal Thickness { get; set; }
///
/// 幅宽
///
[PropertyValidate("幅宽", NotNullAndEmpty = true)]
public decimal Wide { get; set; }
///
/// 重量
///
[PropertyValidate("重量", NotNullAndEmpty = true)]
public decimal Weight { get; set; }
///
/// 成品包材纸箱物料编码
///
[PropertyValidate("成品包材纸箱物料编码", NotNullAndEmpty = true)]
public string ProPackCode { get; set; }
///
/// 箱长
///
[PropertyValidate("箱长", NotNullAndEmpty = true)]
public decimal Length { get; set; }
///
/// 箱宽
///
[PropertyValidate("箱宽", NotNullAndEmpty = true)]
public decimal Width { get; set; }
///
/// 箱高
///
[PropertyValidate("箱高", NotNullAndEmpty = true)]
public decimal Height { get; set; }
}
}