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