using System;
using System.ComponentModel.DataAnnotations;

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

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

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

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

        [StringLength(36)]
        public string xxqad_ps_ref { get; set; }

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

        public DateTime? xxqad_ps_start { get; set; }

        public DateTime? xxqad_ps_end { get; set; }

        public decimal xxqad_ps_qty_per { get; set; }

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

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

        public int xxqad_ps_op { get; set; }

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

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

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

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

        public string xxqad_ps_rmks1 { get; set; }

        public DateTime? xxqad_ps_createdt { get; set; }

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

        public DateTime? xxqad_ps_updatedt { get; set; }

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