using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public partial class TF_ASN { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Key] [StringLength(50)] public string BillNum { get; set; } public DateTime BillTime { get; set; } [Required] [StringLength(50)] public string PoBillNum { get; set; } [Required] [StringLength(50)] public string VendId { get; set; } [Required] [StringLength(50)] public string OperName { get; set; } public DateTime ShipTime { get; set; } public int State { get; set; } [StringLength(50)] public string Remark { get; set; } public DateTime? ReceiveTime { get; set; } [StringLength(50)] public string DeliveryAddress { get; set; } // [NotMapped] // [DisplayName("¹©Ó¦É̱àºÅ")] // public string VendID => ScpCache.GetVendName(OperName); } }