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