using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public class V_POAll { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [StringLength(50)] public string BillNum { get; set; } [Required] [StringLength(50)] public string VendId { get; set; } [Required] [StringLength(50)] public string OperName { get; set; } public DateTime BillTime { get; set; } [StringLength(50)] public string ModType { get; set; } [Column(TypeName = "date")] public DateTime? DueDate { get; set; } [StringLength(50)] public string ShipToSite { get; set; } [StringLength(50)] public string Buyer { get; set; } [StringLength(50)] public string BuyerPhone { get; set; } public int State { get; set; } [StringLength(500)] public string Remark { get; set; } [Required] [StringLength(50)] public string VendName { get; set; } [NotMapped] [StringLength(50)] public string SumOver { get; set; } } }