using FreeSql.DataAnnotations; namespace BBWYB.Server.Model.Db { /// /// 采购商表 /// [Table(Name = "purchaser", DisableSyncStructure = true)] public partial class Purchaser { /// /// 采购商Id (1688 SellerUserId) /// [Column(StringLength = 20, IsPrimary = true, IsNullable = false)] public string Id { get; set; } /// /// 采购商Id2 (1688 SellerLoginId) /// [Column(StringLength = 50)] public string Id2 { get; set; } /// /// 发货地(产地) /// [Column(StringLength = 50)] public string Location { get; set; } /// /// 经营模式 0贸易 1厂家 /// [Column(DbType = "int", MapType = typeof(int))] public Enums.ManagmentMode? ManagmentMode { get; set; } [Column(StringLength = 50)] public string MemberId { get; set; } /// /// 采购商名称 /// [Column(StringLength = 50)] public string Name { get; set; } /// /// 采购平台 /// [Column(MapType = typeof(int?))] public Enums.Platform? Platform { get; set; } /// /// 采购次数 /// [Column(DbType = "int")] public int? PurchasedCount { get; set; } = 0; /// /// 采购过的Sku数 /// [Column(DbType = "int")] public int? PurchasedSkuCount { get; set; } = 0; } }