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 BSTReturnOrderDTO
{
///
/// 数据获取方式标识(1:新增 2:修改 3:删除)
///
[PropertyValidate("数据获取方式标识(1:新增 2:修改 3:删除)", NotNullAndEmpty = true)]
public int Way { get; set; }
///
/// 退料单ID
///
[PropertyValidate("退料单ID", NotNullAndEmpty = true)]
public int PaperWreturnId { get; set; }
///
/// 退料单编号
///
[PropertyValidate("退料单编号", NotNullAndEmpty = true)]
public string PaperWreturnNo { get; set; }
///
/// 退料日期
///
[PropertyValidate("退料日期", NotNullAndEmpty = true)]
public long WreturnDate { get; set; }
///
/// 退料员工
///
[PropertyValidate("退料员工", NotNullAndEmpty = false)]
public string EmployeeName { get; set; }
///
/// 退料明细
///
[PropertyValidate("退料明细", NotNullAndEmpty = true)]
public List BstPaperWreturnDetails { get; set; }
}
///
/// 退料明细
///
public class BSTReturnOrderDTOItem
{
///
/// 退料ID
///
[PropertyValidate("退料ID", NotNullAndEmpty = true)]
public int PaperWreturnId { 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 int SeqNo { get; set; }
///
/// 幅宽(mm)
///
[PropertyValidate("幅宽(mm)", NotNullAndEmpty = true)]
public decimal W { get; set; }
///
/// 直径
///
[PropertyValidate("直径", NotNullAndEmpty = true)]
public decimal Thick { get; set; }
///
/// 长度
///
[PropertyValidate("长度", NotNullAndEmpty = true)]
public decimal ProcurementLength { get; set; }
///
/// 退货数量
///
[PropertyValidate("退货数量", NotNullAndEmpty = true)]
public decimal Qty { get; set; }
///
/// 单位
///
[PropertyValidate("单位", NotNullAndEmpty = true)]
public string Unit { get; set; }
}
}