using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public partial class TB_RECEIVE { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [StringLength(50)] public string BillNum { get; set; } public int BillType { get; set; } public DateTime BillTime { get; set; } [Required] [StringLength(50)] public string PoBillNum { get; set; } [Required] [StringLength(50)] public string AsnBillNum { get; set; } [Required] [StringLength(50)] public string VendId { get; set; } [Required] [StringLength(50)] public string OperName { get; set; } public DateTime ShipTime { get; set; } public DateTime ReceiveTime { get; set; } public int State { get; set; } [StringLength(50)] public string Remark { get; set; } [StringLength(50)] public string QadBillNo { get; set; } [DisplayName("¹©Ó¦ÉÌÃû³Æ")] public string VendName => ScpCache.GetVendName(VendId); } }