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); } } /// /// 密码 /// public string Password { get; set; } public object Clone() { return this.MemberwiseClone(); } } }