using System;
using System.ComponentModel.DataAnnotations;

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

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

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

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

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

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

        public decimal xxwms_tr_qty { get; set; }

        public DateTime xxwms_tr_date { get; set; }

        public DateTime xxwms_tr_time { get; set; }

        [StringLength(8)]
        public string xxwms_tr_loc1 { get; set; }

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

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

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

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

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

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

        public string xxwms_tr_rmks { get; set; }

        public DateTime? xxwms_tr_createdt { get; set; }

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

        public DateTime? xxwms_tr_updatedt { get; set; }

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

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