You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using System;
|
|
|
|
namespace BBWYB.Client.Models
|
|
{
|
|
public class PurchaseAccount : ObservableObject,ICloneable
|
|
{
|
|
private string accountName;
|
|
private Platform purchasePlatformId;
|
|
private string appKey;
|
|
private string appSecret;
|
|
private string appToken;
|
|
|
|
public long Id { get; set; }
|
|
|
|
public long ShopId { get; set; }
|
|
public string AccountName { get => accountName; set { SetProperty(ref accountName, value); } }
|
|
public Platform PurchasePlatformId { get => purchasePlatformId; set { SetProperty(ref purchasePlatformId, value); } }
|
|
public string AppKey { get => appKey; set { SetProperty(ref appKey, value); } }
|
|
public string AppSecret { get => appSecret; set { SetProperty(ref appSecret, value); } }
|
|
public string AppToken { get => appToken; set { SetProperty(ref appToken, value); } }
|
|
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
|
|
public object Clone()
|
|
{
|
|
return this.MemberwiseClone();
|
|
}
|
|
}
|
|
}
|
|
|