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.
62 lines
1.7 KiB
62 lines
1.7 KiB
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Collections.ObjectModel;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace BBWYB.Client.Models
|
||
|
{
|
||
|
public class ProductSku : NotifyObject
|
||
|
{
|
||
|
private PurchaseScheme selectedPurchaseScheme;
|
||
|
private StorageModel selectedStorageModel;
|
||
|
public string Id { get; set; }
|
||
|
|
||
|
public string ProductId { get; set; }
|
||
|
|
||
|
public double Price { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Sku标题
|
||
|
/// </summary>
|
||
|
public string Title { get; set; }
|
||
|
|
||
|
public string Logo { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 采购方案
|
||
|
/// </summary>
|
||
|
public IList<PurchaseScheme> PurchaseSchemeList { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 采购订单
|
||
|
/// </summary>
|
||
|
public IList<PurchaseOrder> PurchaseOrderList { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 仓储平台
|
||
|
/// </summary>
|
||
|
public IList<StorageModel> StorageList { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 选中的采购方案
|
||
|
/// </summary>
|
||
|
public PurchaseScheme SelectedPurchaseScheme
|
||
|
{
|
||
|
get => selectedPurchaseScheme;
|
||
|
set { Set(ref selectedPurchaseScheme, value); }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 选中的仓储平台
|
||
|
/// </summary>
|
||
|
public StorageModel SelectedStorageModel { get => selectedStorageModel; set { Set(ref selectedStorageModel, value); } }
|
||
|
|
||
|
public ProductSku()
|
||
|
{
|
||
|
PurchaseSchemeList = new ObservableCollection<PurchaseScheme>();
|
||
|
PurchaseOrderList = new ObservableCollection<PurchaseOrder>();
|
||
|
StorageList = new ObservableCollection<StorageModel>();
|
||
|
}
|
||
|
}
|
||
|
}
|