using PJZS.Models;
using System.Collections.Generic;

namespace PJZS
{
    public class Shop : NotifyObject
    {
        private bool isSelected;
        private string shopName;

        public bool IsSelected { get => isSelected; set { Set(ref isSelected, value); } }
        /// <summary>
        /// 店铺Id
        /// </summary>
        public long ShopId { get; set; }

        /// <summary>
        /// 商家类型
        /// </summary>
        public string VenderType { get; set; }

        /// <summary>
        /// 店铺平台
        /// </summary>
        public Platform Platform { get; set; }

        public string AppKey { get; set; }

        public string AppSecret { get; set; }

        public string AppToken { get; set; }

        public string AppKey2 { get; set; }

        public string AppSecret2 { get; set; }

        public string AppToken2 { get; set; }

        public string ShopName { get => shopName; set { Set(ref shopName, value); } }

        //public IList<PurchaseAccount> PurchaseAccountList { get; set; }

        public string ManagePwd { get; set; }
        /// <summary>
        /// 店铺扣点
        /// </summary>
        public decimal? PlatformCommissionRatio { get; set; }

        public string TeamId { get; set; }

        public string TeamName { get; set; }

        public string DingDingWebHook { get; set; }

        public string DingDingKey { get; set; }

        public int SkuSafeTurnoverDays { get; set; }

        /// <summary>
        /// 司南策略等级
        /// </summary>
        public int SiNanPolicyLevel { get; set; }

        /// <summary>
        /// 司南钉钉WebHook地址
        /// </summary>
        public string SiNanDingDingWebHook { get; set; }

        /// <summary>
        /// 司南钉钉密钥
        /// </summary>
        public string SiNanDingDingKey { get; set; }

        /// <summary>
        /// PJZS钉钉WebHook地址
        /// </summary>
        public string PJZSDingDingWebHook { get; set; }

        /// <summary>
        /// PJZS钉钉密钥
        /// </summary>
        public string PJZSDingDingKey { get; set; }

        public override string ToString()
        {
            return ShopName;
        }
    }
}