using System.Collections.Generic;

namespace BBWY.Client.Models
{
    public class Shop : NotifyObject
    {
        private string name;

        /// <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 Name { get => name; set { Set(ref name, value); } }

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

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