using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BBWYB.Client.Models.PackPurchaseTask { /// /// 配件sku /// public class PurchaseSku:ObservableObject { /// /// 配件图 /// private string logo; /// /// 配件商品Id /// private string purchaseSkuId; /// /// 配件名称 /// private string title; /// /// 是否需要配置合格证 /// private bool isNeedCer; /// /// 配件图 /// public string Logo { get=>logo; set { SetProperty(ref logo, value); } } /// /// 配件商品Id /// public string PurchaseSkuId { get => purchaseSkuId; set { SetProperty(ref purchaseSkuId, value); } } /// /// 配件名称 /// public string Title { get => title; set { SetProperty(ref title, value); } } /// /// 是否需要配置合格证 /// public bool IsNeedCer { get => isNeedCer; set { SetProperty(ref isNeedCer, value); } } /// /// 合格证配置信息 /// public CertificateModel CerDTO { get; set; } private bool isSetCertificate; /// /// 设置显示(合格证) /// public bool IsSetCertificate{get => isSetCertificate; set{SetProperty(ref isSetCertificate, value);}} } }