using FreeSql.DataAnnotations; using System; namespace BBWY.Server.Model.Db.Mds { [Table(Name = "shops", DisableSyncStructure = true)] public partial class Shops { /// /// Id /// [Column(StringLength = 50, IsPrimary = true, IsNullable = false)] public string Id { get; set; } /// /// 店铺Key /// public string AppKey { get; set; } /// /// 店铺Secret /// public string AppSecret { get; set; } /// /// 店铺Token /// public string AppToken { get; set; } /// /// 创建时间 /// [Column(DbType = "datetime")] public DateTime CreateTime { get; set; } /// /// 创建人Id /// [Column(StringLength = 50)] public string CreatorId { get; set; } /// /// 创建人 /// [Column(StringLength = 50, IsNullable = false)] public string CreatorRealName { get; set; } /// /// 0淘宝,1京东,2阿里巴巴 /// public int? PlatformId { get; set; } /// /// 平台名称 /// [Column(StringLength = 50)] public string PlatformName { get; set; } public string PurchaseAppKey { get; set; } public string PurchaseAppSecret { get; set; } /// /// 采购平台 /// [Column(StringLength = 50)] public string PurchasePlatformId { get; set; } /// /// 商家编号 /// public string VenderId { get; set; } /// /// 店铺ID /// public string ShopId { get; set; } public string ShopName { get; set; } /// /// 店铺账号 /// public string ShopNick { get; set; } /// /// 店铺类型 /// public string ShopType { get; set; } public string ManagePwd { get; set; } [Column(DbType = "decimal(11,2)")] public decimal? PlatformCommissionRatio { get; set; } } }