using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace CoreCms.Net.DTO.ComponentsDTO { /// /// 商品列表中需要的字段 /// public class GoodListDTO { public GoodListDTO() { } /// /// 商品ID /// public int id { get; set; } /// /// 商品名称 /// public string name { get; set; } /// /// 商品简介 /// public string brief { get; set; } /// /// 缩略图 /// public string image { get; set; } /// /// 视频 /// public string video { get; set; } /// /// 商品分类 /// public int goodsCategoryId { get; set; } /// /// 商品类别 /// public int goodsTypeId { get; set; } /// /// 品牌 /// public int brandId { get; set; } /// /// 是否虚拟商品 /// public bool isNomalVirtual { get; set; } /// /// 商品单位 /// public string unit { get; set; } /// /// 评论次数 /// public int commentsCount { get; set; } /// /// 浏览次数 /// public int viewCount { get; set; } /// /// 购买次数 /// public int buyCount { get; set; } /// /// 商品排序 /// public int sort { get; set; } /// /// 标签id逗号分隔 /// public string labelIds { get; set; } /// /// 创建时间 /// public DateTime? createTime { get; set; } /// /// 是否推荐 /// public bool isRecommend { get; set; } /// /// 是否热门 /// public bool isHot { get; set; } /// /// 初始销量 /// public int initialSales { get; set; } /// /// 货品价格 /// public System.Decimal price { get; set; } /// /// 货品市场价 /// public System.Decimal mktprice { get; set; } /// /// 积分可抵扣金额 /// public System.Decimal pointsDeduction { get; set; } /// /// 赠送积分 /// public System.Int32 points { get; set; } /// /// 重量(千克) /// public System.Decimal weight { get; set; } /// /// 库存 /// public System.Int32 stock { get; set; } /// /// 是否参与营销(优惠券,满减,秒杀,团购) /// public bool isInActivity { get; set; } } }