namespace CK.SCP.Models.ScpEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    public partial class V_TB_PO :RecordEntity
    {


        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long UID { get; set; }
        [Key]
        [StringLength(50)]
        public string PoBillNum { get; set; }
        [StringLength(50)]
        public string ErpBillNum { get; set; }
        [StringLength(50)]
        public string VendId { get; set; }
        public int? ModType { get; set; }
        [StringLength(50)]
        public string Contacter { get; set; }
        [StringLength(50)]
        public string Site { get; set; }
        [StringLength(50)]
        public string Buyer { get; set; }
        [StringLength(50)]
        public string BuyerPhone { get; set; }
        public int? State { get; set; }
        [StringLength(50)]
        public string Remark { get; set; }
      
        [StringLength(50)]
        public string VendName { get; set; }

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

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

        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }


        [StringLength(50)]
        public string Site_Desc { get; set; }
        [NotMapped]
        public string ReceivedPort { get; set; }
        [NotMapped]
        public string PartCode { get; set; }

        public string SubSite { get; set; }


    }




}