using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreCms.Net.Model.ViewModels.DTO { /// /// /// public class GetPromotionResult { /// /// 序列 /// public System.Int32 id { get; set; } /// /// 促销名称 /// public System.String name { get; set; } /// /// 类型 /// public System.Int32 type { get; set; } /// /// 排序 /// public System.Int32 sort { get; set; } /// /// 其它参数 /// public System.String parameters { get; set; } /// /// 每人限购数量 /// public System.Int32 maxNums { get; set; } /// /// 每个商品活动数量 /// public System.Int32 maxGoodsNums { get; set; } /// /// 最大领取数量 /// public System.Int32 maxRecevieNums { get; set; } /// /// 开始时间 /// public System.DateTime startTime { get; set; } /// /// 结束时间 /// public System.DateTime endTime { get; set; } /// /// 是否排他 /// public System.Boolean isExclusive { get; set; } /// /// 是否自动领取 /// public System.Boolean isAutoReceive { get; set; } /// /// 是否开启 /// public System.Boolean isEnable { get; set; } /// /// 是否删除 /// public System.Boolean isDel { get; set; } /// /// 有效天数 /// public System.Int32 effectiveDays { get; set; } /// /// 有效小时 /// public System.Int32 effectiveHours { get; set; } /// /// 条件 /// public List conditions { get; set; } /// /// 结果 /// public List results { get; set; } } }