namespace ZR.Mall.Model.Dto
{
///
/// 商品库存查询对象
///
public class ShoppingSkusQueryDto : PagerInfo
{
}
///
/// 商品库存输入输出对象
///
public class SkusDto
{
public long? SkuId { get; set; }
[Required(ErrorMessage = "商品ID不能为空")]
public long ProductId { get; set; }
[Required(ErrorMessage = "售卖价格不能为空")]
public decimal Price { get; set; }
public int SalesVolume { get; set; }
public int Stock { get; set; }
public int SortId { get; set; }
///
/// 重量(千克 (Kg))
///
public decimal Weight { get; set; }
public string ImageUrl { get; set; }
/////
///// 暂时没用到
/////
//public string SpecValue { get; set; }
public string SpecCombination { get; set; }
///
/// 规格
///
[SugarColumn(IsJson = true)]
public List Specs { get; set; }
}
}