using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace RB_MES_API.Models.Pangu
{
public class WPLAN_MN_CHANGE
{
///
/// 唯一序号
///
public string QUEUE_ID { get; set; } = string.Empty;
///
/// ERP工单编码
///
[DisplayName("ERP工单编码")]
public string WPLAN_MO { get; set; } = string.Empty;
///
/// ERP工单行号
///
[DisplayName("ERP工单行号")]
public string WPLAN_MO_LINE { get; set; } = string.Empty;
///
/// 工单物料需求单号
///
[DisplayName("工单物料需求单号")]
public string ERP_ID { get; set; } = string.Empty;
[DisplayName("是否主料")]
public string IS_MAIN { get; set; } = string.Empty;
///
/// 主料编码
///
[DisplayName("主料编码")]
public string MAIN_ID { get; set; }
///
/// 物料编码
///
[DisplayName("物料编码")]
public string MTRL_ID { get; set; } = string.Empty;
///
/// 标准用量
///
[DisplayName("标准用量")]
public decimal DOSAGE { get; set; }
///
/// 计划数量(工单生产数量)
///
[DisplayName("计划数量")]
public decimal P_QTY { get; set; }
///
/// 实际需求数量
///
[DisplayName("实际需求数量")]
public decimal TN_QTY { get; set; }
///
/// 点位信息
///
[DisplayName("点位信息")]
public string POINT_STR { get; set; } = string.Empty; //多个用豆号分隔
///
/// 是否返还件
///
[DisplayName("是否返还件(Y/N)")]
public string IS_BACK { get; set; }
///
/// 变更类型
///
[DisplayName("变更类型")]
public string ChangeType { get; set; }
///
/// 需求日期
///
[DisplayName("需求日期")]
[DataType(DataType.Date)]
public string N_DATE { get; set; }
public string MTRL_VER { get; set; } = string.Empty;
///
/// JSON顺序号
///
public decimal SEQ { get; set; }
}
}