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 { /// <summary> /// 配件sku /// </summary> public class PurchaseSku:ObservableObject { /// <summary> /// 配件图 /// </summary> private string logo; /// <summary> /// 配件商品Id /// </summary> private string purchaseSkuId; /// <summary> /// 配件名称 /// </summary> private string title; /// <summary> /// 是否需要配置合格证 /// </summary> private bool isNeedCer; /// <summary> /// 配件图 /// </summary> public string Logo { get=>logo; set { SetProperty(ref logo, value); } } /// <summary> /// 配件商品Id /// </summary> public string PurchaseSkuId { get => purchaseSkuId; set { SetProperty(ref purchaseSkuId, value); } } /// <summary> /// 配件名称 /// </summary> public string Title { get => title; set { SetProperty(ref title, value); } } /// <summary> /// 是否需要配置合格证 /// </summary> public bool IsNeedCer { get => isNeedCer; set { SetProperty(ref isNeedCer, value); } } /// <summary> /// 合格证配置信息 /// </summary> public CertificateModel CerDTO { get; set; } private bool isSetCertificate; /// <summary> /// 设置显示(合格证) /// </summary> public bool IsSetCertificate{get => isSetCertificate; set{SetProperty(ref isSetCertificate, value);}} } }