119 lines
3.8 KiB
C#
119 lines
3.8 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 是否已绑定代发仓库
|
|
/// </summary>
|
|
public class ShopLoginInfo : PropertyNotifyObject
|
|
{
|
|
public bool? Is29Supplier
|
|
{
|
|
get { return this.GetValue(x => x.Is29Supplier); }
|
|
set { this.SetValue(x => x.Is29Supplier, value); }
|
|
}
|
|
/// <summary>
|
|
/// 是否被选中
|
|
/// </summary>
|
|
public bool IsSelect
|
|
{
|
|
get { return this.GetValue(x => x.IsSelect); }
|
|
set { this.SetValue(x => x.IsSelect, value); }
|
|
}
|
|
/// <summary>
|
|
/// 是否被过滤掉
|
|
/// </summary>
|
|
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 ErpCorporateAccountUserId { get; set; }
|
|
public string ErpManageUserId { 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; }
|
|
/// <summary>
|
|
/// 在线、掉线
|
|
/// </summary>
|
|
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; }
|
|
/// <summary>
|
|
/// 上货账户
|
|
/// </summary>
|
|
public string UploadAccount { get; set; }
|
|
/// <summary>
|
|
/// 拍单(采购)用户账户
|
|
/// </summary>
|
|
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; }
|
|
/// <summary>
|
|
/// 拼多多校验数据列表
|
|
/// </summary>
|
|
public string AntiContent { get; set; }
|
|
/// <summary>
|
|
/// 拼多多店铺信息
|
|
/// </summary>
|
|
public string MallId { get; set; }
|
|
/// <summary>
|
|
/// 微信小店开放Id信息
|
|
/// </summary>
|
|
public string openid { get; set; }
|
|
}
|
|
}
|