using AllBase.Model.MvvmBaseClasses; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace AllBase.Model.Local { /// /// 是否已绑定代发仓库 /// public class ShopLoginInfo : PropertyNotifyObject { public bool? Is29Supplier { get { return this.GetValue(x => x.Is29Supplier); } set { this.SetValue(x => x.Is29Supplier, value); } } /// /// 是否被选中 /// public bool IsSelect { get { return this.GetValue(x => x.IsSelect); } set { this.SetValue(x => x.IsSelect, value); } } /// /// 是否被过滤掉 /// public bool IsFilter { get { return this.GetValue(x => x.IsFilter); } set { this.SetValue(x => x.IsFilter, value); } } public string DbId { get; set; } public string CompanyName { get; set; } public string LoginName { get; set; } public string Password { get; set; } public string ShopId { get; set; } public string ShopAccount { get; set; } public string Mobile { get; set; } public string ErpShopId { get; set; } public string SubUserName { get; set; } public string ShopToken { get; set; } public string Signature { get; set; } public string TouTiaoId { get; set; } public string Cookies { get; set; } /// /// 在线、掉线 /// public string LoginStatusStr { get { return this.GetValue(x => x.LoginStatusStr); } set { this.SetValue(x => x.LoginStatusStr, value); } } public string LoginStatus { get { return this.GetValue(x => x.LoginStatus); } set { this.SetValue(x => x.LoginStatus, value); LoginStatusStr = value == "登录成功" ? "在线" : "掉线"; } } public string ApiAuthStatus { get; set; } /// /// 上货账户 /// public string UploadAccount { get; set; } /// /// 拍单(采购)用户账户 /// public string BuyAccount { get; set; } public string GroupName { get; set; } public string Notes { get; set; } public string LastRefreshDate { get; set; } public string AccessToken { get; set; } public string RefreshToken { get; set; } public string AppKey { get; set; } public DateTime AddTime { get; set; } public DateTime ExpiresTime { get; set; } public DateTime TokenExpiresTime { get; set; } public bool is_point_shop_expire { get; set; } public int expire_time { get; set; } public string openid { get; set; } } public class ShopCompany { public string UserName { get; set; } public string LoginName { get; set; } public string AccountId { get; set; } public string AccountName { get; set; } public string LoginStatus { get; set; } /// /// 拼多多校验数据列表 /// public string AntiContent { get; set; } /// /// 拼多多店铺信息 /// public string MallId { get; set; } /// /// 微信小店开放Id信息 /// public string openid { get; set; } } }