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.ERP
{
///
/// 博思通生产排程接收实体
///
[ModelValidate]
public class BSTOutOrderDTO
{
///
/// 数据获取方式标识(1:新增 2:修改 3:删除)
///
[PropertyValidate("数据获取方式标识(1:新增 2:修改 3:删除)", NotNullAndEmpty = true)]
public int Way { get; set; }
///
/// 纸板主生产计划ID
///
[PropertyValidate("纸板主生产计划ID", NotNullAndEmpty = true)]
public int BoardMpsId { get; set; }
///
/// 计划编号
///
[PropertyValidate("计划编号", NotNullAndEmpty = true)]
public string BoardMpsNo { get; set; }
///
/// 生产日期
///
[PropertyValidate("生产日期", NotNullAndEmpty = true)]
public long ProductionDate { get; set; }
///
/// 纸质出库单明细列表
///
[PropertyValidate("纸质出库单明细列表", NotNullAndEmpty = true)]
public List BstBoardMpsDetails { get; set; }
}
///
/// 生产排程明细
///
public class BstBoardMpsDetailItem
{
///
/// 关联的主表ID
///
[PropertyValidate("关联的主表ID", NotNullAndEmpty = true)]
public int BoardMpsId { get; set; }
///
/// 幅宽
///
[PropertyValidate("幅宽", NotNullAndEmpty = true)]
public decimal Width { get; set; }
///
/// 需求长度
///
[PropertyValidate("需求长度", NotNullAndEmpty = true)]
public decimal XqLen { get; set; }
///
/// 总用量
///
[PropertyValidate("总用量", NotNullAndEmpty = true)]
public decimal TotalUsage { get; set; }
///
/// 物料来源ID(上游)
///
[PropertyValidate("物料ID", NotNullAndEmpty = true)]
public int MaterialId { get; set; }
///
/// 物料编号
///
[PropertyValidate("物料编号", NotNullAndEmpty = true)]
public string MaterialNo { get; set; }
///
/// 采购长度
///
[PropertyValidate("采购长度", NotNullAndEmpty = true)]
public decimal ProcurementLength { get; set; }
}
}