using System;
using System.ComponentModel.DataAnnotations;

namespace CK.SCP.Models.UniApiEntity
{
    public partial class xxwms_rt_det
    {
        [Key]
        public int xxwms_rt_uid { get; set; }

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

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

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

        public int xxwms_rt_po_line { get; set; }

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

        public decimal xxwms_rt_qty_total { get; set; }

        public DateTime xxwms_rt_date_ship { get; set; }

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

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

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

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

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

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

        [StringLength(2)]
        public string xxwms_rt_loc_um { get; set; }

        public decimal xxwms_rt_conv { get; set; }

        [StringLength(10)]
        public string xxwms_rt_lot { get; set; }

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

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

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

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

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

        public string xxwms_rt_rmks { get; set; }

        public DateTime? xxwms_rt_createdt { get; set; }

        [StringLength(18)]
        public string xxwms_rt_createur { get; set; }

        public DateTime? xxwms_rt_updatedt { get; set; }

        [StringLength(18)]
        public string xxwms_rt_updateur { get; set; }

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