步步为盈
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.

51 lines
1.4 KiB

3 years ago
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace BBWY.Client.Models
{
public class Product : NotifyObject
{
public Product()
{
PurchaserList = new ObservableCollection<Purchaser>();
2 years ago
PurchasePlatformList = new List<PurchasePlatformModel>();
3 years ago
}
/// <summary>
/// 商品Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 商品货号
/// </summary>
public string ProductItemNum { get; set; }
/// <summary>
/// 商品标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// Sku列表
/// </summary>
public IList<ProductSku> SkuList { get; set; }
/// <summary>
/// 采购商集合
/// </summary>
public IList<Purchaser> PurchaserList { get; set; }
2 years ago
/// <summary>
/// 采购平台集合
/// </summary>
public IList<PurchasePlatformModel> PurchasePlatformList { get; set; }
public void CreatePlatformList()
{
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform. });
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform. });
}
3 years ago
}
}