using System.ComponentModel.DataAnnotations;

namespace RB_MES_API.Models.Pangu
{
    /// <summary>
    /// 已下日计划工单明细，需要在沃比系统建表
    /// </summary>
    public class LockPRD_MO
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int FID { get; set; }
        /// <summary>
        /// ERP生产工单单据编号
        /// </summary>
        [Required]
        [StringLength(36)]
        public string ERP_MO { get; set; }= string.Empty;
        /// <summary>
        /// 将生成日计划状态写回ERP对应生产工单
        /// </summary>
        [Required]
        public string MO_SEQ { get; set; }
        /// <summary>
        /// ERP中的主键ID
        /// </summary>
        public string MOID { get; set; }
        /// <summary>
        /// ERP中行主键ID
        /// </summary>
        public string MOEntryID { get; set; }
        /// <summary>
        /// 交易时间，长日期
        /// </summary>       
        public string TRX_DATE { get; set; }
       
    }
}
