using FreeSql.DataAnnotations; using System; namespace BBWY.Server.Model.Db { /// /// 采购商表 /// [Table(Name = "purchaser", DisableSyncStructure = true)] public partial class Purchaser { /// /// 采购商Id /// [Column(StringLength = 20, IsPrimary = true, IsNullable = false)] public string Id { get; set; } /// /// 采购商名称 /// [Column(StringLength = 50)] public string Name { get; set; } /// /// 发货地 /// [Column(StringLength = 50)] public string Location { get; set; } /// /// 采购平台 /// [Column(MapType = typeof(int?))] public Enums.Platform? Platform { get; set; } [Column(IsIgnore = true)] public decimal DefaultCost { get; set; } [Column(IsIgnore = true)] public DateTime? LastPurchaseTime { get; set; } } }