using System;
using System.ComponentModel.DataAnnotations;

namespace CK.SCP.Models.UniApiEntity
{
    public partial class xxscm_tx_mstr
    {
        [Key]
        public int xxscm_tx_uid { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_seq { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(20)]
        public string xxscm_tx_nbr { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_po_nbr { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_po_line { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(18)]
        public string xxscm_tx_part { get; set; }
        public decimal xxscm_tx_qty_total { get; set; }

        public decimal xxscm_tx_qty_std { get; set; }

        public DateTime xxscm_tx_date_ship { get; set; }

        public DateTime xxscm_tx_date_Promise { get; set; }

        public DateTime xxscm_tx_date_due { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_domain { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_site { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxscm_tx_vend { get; set; }

        [StringLength(20)]
        public string xxscm_tx_ware_class { get; set; }

        [StringLength(20)]
        public string xxscm_tx_ware { get; set; }

        public decimal xxscm_tx_pprice { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(8)]
        public string xxscm_tx_po_um { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(8)]
        public string xxscm_tx_loc_um { get; set; }

        public decimal xxscm_tx_conv { get; set; }

        [Required(AllowEmptyStrings = true)]
        [StringLength(8)]
        public string xxscm_tx_type { get; set; }

        [StringLength(50)]
        public string xxscm_tx_vend_batch { get; set; }
        [StringLength(50)]
        public string xxscm_tx_batch { get; set; }
        public DateTime? xxscm_tx_produce_date { get; set; }
        [StringLength(1)]
        public string xxscm_tx_qadread { get; set; }

        [StringLength(1)]
        public string xxscm_tx_wmsread { get; set; }

        [StringLength(1)]
        public string xxscm_tx_scmread { get; set; }

        [StringLength(1)]
        public string xxscm_tx_mesread { get; set; }

        public string xxscm_tx_rmks { get; set; }

        public DateTime? xxscm_tx_createdt { get; set; }

        [StringLength(50)]
        public string xxscm_tx_createur { get; set; }

        public DateTime? xxscm_tx_updatedt { get; set; }

        [StringLength(50)]
        public string xxscm_tx_updateur { get; set; }

        [StringLength(50)]
        public string xxscm_tx_status { get; set; }
 


    }
}