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; } /// /// 经营模式 /// [Column(StringLength = 50)] public string 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(StringLength = 20)] public string Tag { get; set; } /// /// 绑定SPU数 /// [Column(DbType = "bigint")] public long? BindingSpuCount { get; set; } = 0; /// /// 采购SPU数 /// [Column(DbType = "bigint")] public long? PurchasedSpuCount { get; set; } = 0; /// /// 绑定SKU数 /// [Column(DbType = "bigint")] public long? BindingSkuCount { get; set; } = 0; /// /// 采购SKU数 /// [Column(DbType = "bigint")] public long? PurchasedSkuCount { get; set; } = 0; /// /// 采购次数/采购订单数 /// [Column(DbType = "bigint")] public long? PurchasedCount { get; set; } = 0; /// /// 采购金额 /// [Column(DbType = "decimal(18,2)")] public decimal? PurchasedAmount { get; set; } = 0.00M; /// /// 上次采购时间 /// [Column(DbType = "datetime")] public DateTime? LastPurchasedTime { get; set; } /// /// 最近90天采购金额 /// [Column(DbType = "decimal(18,2)")] public decimal? Recent90dPurchasedAmount { get; set; } = 0.00M; /// /// 最近90天采购次数 /// [Column(DbType = "decimal(18,2)")] public decimal? Recent90dPurchasedCount { get; set; } = 0.00M; } }