using FreeSql.DataAnnotations;
using System;
namespace SiNan.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; }
///
/// 店铺Key 暂定商品管理Key
///
public string AppKey2 { get; set; }
///
/// 店铺Secret 暂定商品管理Secret
///
public string AppSecret2 { get; set; }
///
/// 店铺Token
///
public string AppToken2 { 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; }
///
/// SKU库存安全周转天数
///
public int SkuSafeTurnoverDays { get; set; }
///
/// 钉钉WebHook地址
///
[Column(StringLength = 255)]
public string DingDingWebHook { get; set; }
///
/// 钉钉密钥
///
[Column(StringLength = 100)]
public string DingDingKey { get; set; }
///
/// 司南策略等级
///
public int SiNanPolicyLevel { get; set; }
///
/// 司南钉钉WebHook地址
///
[Column(StringLength = 255)]
public string SiNanDingDingWebHook { get; set; }
///
/// 司南钉钉密钥
///
[Column(StringLength = 100)]
public string SiNanDingDingKey { get; set; }
///
/// PJZS钉钉WebHook地址
///
[Column(StringLength = 255)]
public string PJZSDingDingWebHook { get; set; }
///
/// PJZS钉钉密钥
///
[Column(StringLength = 100)]
public string PJZSDingDingKey { get; set; }
///
/// 齐库钉钉WebHook地址
///
[Column(StringLength = 255)]
public string QiKuDingDingWebHook { get; set; }
///
/// 齐库钉钉密钥
///
[Column(StringLength = 100)]
public string QiKuDingDingKey { get; set; }
[Column(DbType = "bit", IsNullable = true)]
public bool? IsEnabled { get; set; } = true;
}
}