using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
namespace WIDESEA_DTO.ERP
{
///
/// 博思通生产领料接收实体
///
[ModelValidate]
public class BSTPickInfoDTO
{
///
/// 数据获取方式标识(1:新增 2:修改 3:删除)
///
[PropertyValidate("数据获取方式标识(1:新增 2:修改 3:删除)", NotNullAndEmpty = true)]
public int Way { get; set; }
///
/// 领料单ID
///
[PropertyValidate("领料单ID", NotNullAndEmpty = true)]
public int PaperMattakeId { get; set; }
///
/// 领料单号
///
[PropertyValidate("领料单号", NotNullAndEmpty = true)]
public string PaperMattakeNo { get; set; }
///
/// 领用日期
///
[PropertyValidate("生产日期", NotNullAndEmpty = true)]
public long MattakeDate { get; set; }
///
/// 领用员工
///
[PropertyValidate("领用员工", NotNullAndEmpty = true)]
public long EmployeeName { get; set; }
///
/// 领用明细
///
[PropertyValidate("领用明细", NotNullAndEmpty = true)]
public List PaperMattakeDetails { get; set; }
}
///
/// 生产排程明细
///
public class PaperMattakeDetailItem
{
///
/// 关联的主表ID
///
[PropertyValidate("关联的主表ID", NotNullAndEmpty = true)]
public int PaperMattakeId { get; set; }
///
/// 关联的主表ID
///
[PropertyValidate("物料ID", NotNullAndEmpty = true)]
public int MaterialId { get; set; }
///
/// 物料条码
///
[PropertyValidate("物料条码", NotNullAndEmpty = true)]
public string Barcode { get; set; }
///
/// 物料编码
///
[PropertyValidate("物料编码", NotNullAndEmpty = true)]
public string MaterialNo { get; set; }
///
/// 批次号
///
[PropertyValidate("批次号", NotNullAndEmpty = true)]
public string SeqNo { get; set; }
///
/// 幅宽
///
[PropertyValidate("幅宽", NotNullAndEmpty = true)]
public decimal W { get; set; }
///
/// 数量
///
[PropertyValidate("数量", NotNullAndEmpty = true)]
public decimal Qty { get; set; }
///
/// 采购长度
///
[PropertyValidate("采购长度", NotNullAndEmpty = true)]
public decimal ProcurementLength { get; set; }
///
/// 需求长度
///
[PropertyValidate("需求长度", NotNullAndEmpty = true)]
public string Unit { get; set; }
}
}