using System;
using System.ComponentModel.DataAnnotations;

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

                [Required(AllowEmptyStrings = true)]
        [StringLength(50)]
        public string xxwms_ld_seq { get; set; }
        [StringLength(50)]
        public string xxwms_ld_barcode { get; set; }
        [Required(AllowEmptyStrings = true)]
        [StringLength(4)]
        public string xxwms_ld_site { get; set; }

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

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

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

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

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

        public decimal xxwms_ld_qty { get; set; }

        public DateTime xxwms_ld_date { get; set; }

        public DateTime xxwms_ld_time { get; set; }

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

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

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

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

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

        public string xxwms_ld_rmks { get; set; }

        public DateTime? xxwms_ld_createdt { get; set; }

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

        public DateTime? xxwms_ld_updatedt { get; set; }

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

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