using System.ComponentModel.DataAnnotations;

namespace RB_MES_APICore.Models.Cloud
{
    /// <summary>
    /// 单据类型转换规则
    /// </summary>
    public class BillTypeRules
    {
        [Key]
        public int FID { get; set; }
        /// <summary>
        /// 传单接口类型
        /// </summary>
        [Required]
        [StringLength(80)]        
        public string FPostTypeID { get; set; }
        /// <summary>
        /// 上游单据类型。单据类型基础资料的编码！
        /// </summary>
        [Required]
        [StringLength(80)]
        public string FSBillTypeNumber { get; set; }
        /// <summary>
        /// 下游单据类型编码。单据类型基础资料的编码！
        /// </summary>
        [Required]
        [StringLength(80)]
        public string FDBillTypeNumber { get; set; }
    }
}
