using System;
using System.ComponentModel.DataAnnotations;

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

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

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

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

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

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

        public decimal xxwms_rct_qty { get; set; }

        public DateTime xxwms_rct_date { get; set; }

        public DateTime xxwms_rct_time { get; set; }

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

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

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

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

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

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

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

        public string xxwms_rct_rmks { get; set; }

        public DateTime? xxwms_rct_createdt { get; set; }

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

        public DateTime? xxwms_rct_updatedt { get; set; }

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

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

        [StringLength(8)]
        public string xxwms_rct_project { get; set; }
        public string xxwms_rct_costcenter { get; set; }
        public string xxwms_rct_manual { get; set; }
        public string xxwms_rct_origin_loc { get; set; }
    }
}