using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Text;
namespace BBWY.Client.Models.QualityTask
{
///
/// 配件sku
///
public class PurchaseSku : NotifyObject
{
public string PurchaseProductId { get; set; }
///
/// 配件图
///
private string logo;
///
/// 配件商品Id
///
private string purchaseSkuId;
///
/// 配件名称
///
private string title;
///
/// 是否需要配置合格证
///
private bool isNeedCer;
///
/// 配件图
///
public string Logo { get => logo; set { Set(ref logo, value); } }
///
/// 配件商品Id
///
public string PurchaseSkuId { get => purchaseSkuId; set { Set(ref purchaseSkuId, value); } }
///
/// 配件名称
///
public string Title { get => title; set { Set(ref title, value); } }
///
/// 是否需要配置合格证
///
public bool IsNeedCer { get => isNeedCer; set { Set(ref isNeedCer, value); } }
///
/// 合格证配置信息
///
public CertificateModel CerDTO { get; set; }
private bool isSetCertificate;
///
/// 设置显示(合格证)
///
public bool IsSetCertificate
{
get => isSetCertificate; set
{
Set(ref isSetCertificate, value);
//IsNeedCertificateModel = IsSetCertificate ? Need.不需要 : Need.需要;
}
}
}
}