using System;
using System.ComponentModel.DataAnnotations;

namespace CK.SCP.Models.UniApiEntity
{
    public partial class xxscm_inv_det
    {

        [Key]
        public int xxscm_inv_uid { get; set; }

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

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

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

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

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

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

        public DateTime xxscm_inv_date { get; set; }

     
        public string xxscm_inv_curr { get; set; }

       
        public string xxscm_inv_order { get; set; }

     
        public int xxscm_inv_line { get; set; }

      
        public string xxscm_inv_receiver { get; set; }

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

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

        public decimal? xxscm_inv_qty { get; set; }

        public decimal? xxscm_inv_price { get; set; }

        public decimal? xxscm_inv_taxt { get; set; }

        public decimal? xxscm_inv_taxamt { get; set; }

        public decimal? xxscm_inv_amt { get; set; }

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

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

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

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

        public string xxscm_inv_rmks { get; set; }

        public DateTime? xxscm_inv_createdt { get; set; }

  
        public string xxscm_inv_createur { get; set; }

        public DateTime? xxscm_inv_updatedt { get; set; }

      
        public string xxscm_inv_updateur { get; set; }

        public decimal xxscm_inv_holdamt { get; set; }
        public string xxscm_inv_acctuser { get; set; }
        public string xxscm_inv_comments { get; set; }

        [Required(AllowEmptyStrings = true)]
        public decimal xxscm_inv_totamt { get; set; }
        [Required(AllowEmptyStrings = true)]
        public decimal xxscm_inv_tottax { get; set; }
        [Required(AllowEmptyStrings = true)]
        public decimal xxscm_inv_tottaxvar { get; set; }

        public decimal  xxscm_inv_totdiscount { get; set; }


        public decimal xxscm_inv_totclaim { get; set; }



        public string xxscm_inv_project { get; set; }

        public decimal xxscm_inv_extend1 { get; set; }
        public decimal xxscm_inv_extend2 { get; set; }
        public decimal xxscm_inv_extend3 { get; set; }
        public decimal xxscm_inv_extend4 { get; set; }
        public decimal xxscm_inv_extend5 { get; set; }









    }
}