using System.ComponentModel.DataAnnotations;

namespace RB_MES_API.Models.Cloud
{
    /// <summary>
    /// 已下日计划的工单
    /// </summary>
    public class PRDMO
    {
        /// <summary>
        /// ERP生产工单单据编号
        /// </summary>
        [Required]
        [StringLength(255)]
        public string ERP_MO { get; set; } = string.Empty;
        /// <summary>
        /// 将生成日计划状态写回ERP对应生产工单
        /// </summary>
        [Required]
        public int MO_SEQ { get; set; }
    }
}
