You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
192 lines
4.4 KiB
192 lines
4.4 KiB
using FreeSql.DataAnnotations;
|
|
using System;
|
|
|
|
namespace SBF.Model.Db.Mds
|
|
{
|
|
|
|
[Table(Name = "shops", DisableSyncStructure = true)]
|
|
public partial class Shops
|
|
{
|
|
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Key
|
|
/// </summary>
|
|
|
|
public string AppKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Secret
|
|
/// </summary>
|
|
|
|
public string AppSecret { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Token
|
|
/// </summary>
|
|
|
|
public string AppToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Key 暂定商品管理Key
|
|
/// </summary>
|
|
|
|
public string AppKey2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Secret 暂定商品管理Secret
|
|
/// </summary>
|
|
|
|
public string AppSecret2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺Token
|
|
/// </summary>
|
|
|
|
public string AppToken2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(DbType = "datetime")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人Id
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
public string CreatorId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[Column(StringLength = 50, IsNullable = false)]
|
|
public string CreatorRealName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 0淘宝,1京东,2阿里巴巴
|
|
/// </summary>
|
|
|
|
public int? PlatformId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 平台名称
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
public string PlatformName { get; set; }
|
|
|
|
|
|
public string PurchaseAppKey { get; set; }
|
|
|
|
|
|
public string PurchaseAppSecret { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购平台
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
public string PurchasePlatformId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 商家编号
|
|
/// </summary>
|
|
public string VenderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺ID
|
|
/// </summary>
|
|
|
|
public string ShopId { get; set; }
|
|
|
|
|
|
public string ShopName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺账号
|
|
/// </summary>
|
|
|
|
public string ShopNick { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺类型
|
|
/// </summary>
|
|
|
|
public string ShopType { get; set; }
|
|
|
|
public string ManagePwd { get; set; }
|
|
|
|
[Column(DbType = "decimal(11,2)")]
|
|
public decimal? PlatformCommissionRatio { get; set; }
|
|
|
|
/// <summary>
|
|
/// SKU库存安全周转天数
|
|
/// </summary>
|
|
public int SkuSafeTurnoverDays { get; set; }
|
|
|
|
/// <summary>
|
|
/// 钉钉WebHook地址
|
|
/// </summary>
|
|
[Column(StringLength = 255)]
|
|
public string DingDingWebHook { get; set; }
|
|
|
|
/// <summary>
|
|
/// 钉钉密钥
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string DingDingKey { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 司南策略等级
|
|
/// </summary>
|
|
public int SiNanPolicyLevel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 司南钉钉WebHook地址
|
|
/// </summary>
|
|
[Column(StringLength = 255)]
|
|
public string SiNanDingDingWebHook { get; set; }
|
|
|
|
/// <summary>
|
|
/// 司南钉钉密钥
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string SiNanDingDingKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// PJZS钉钉WebHook地址
|
|
/// </summary>
|
|
[Column(StringLength = 255)]
|
|
public string PJZSDingDingWebHook { get; set; }
|
|
|
|
/// <summary>
|
|
/// PJZS钉钉密钥
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string PJZSDingDingKey { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 齐库钉钉WebHook地址
|
|
/// </summary>
|
|
[Column(StringLength = 255)]
|
|
public string QiKuDingDingWebHook { get; set; }
|
|
|
|
/// <summary>
|
|
/// 齐库钉钉密钥
|
|
/// </summary>
|
|
[Column(StringLength = 100)]
|
|
public string QiKuDingDingKey { get; set; }
|
|
|
|
[Column(DbType = "bit", IsNullable = true)]
|
|
public bool? IsEnabled { get; set; } = true;
|
|
}
|
|
|
|
}
|
|
|