/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * Email: jianweie@163.com * CreateTime: 2021/1/31 21:45:10 * Description: 暂无 ***********************************************************************/ using System.ComponentModel.DataAnnotations; using System.Xml.Linq; namespace CoreCms.Net.Model.FromBody { internal class FMProducts { } /// /// 获取子规格 /// public class ItemSpesDesc { public string name { get; set; } = string.Empty; public bool isDefault { get; set; } = false; public int productId { get; set; } = 0; } /// /// 获取相应规格 /// public class DefaultSpesDesc { public string name { get; set; } = string.Empty; public bool isDefault { get; set; } = false; public int productId { get; set; } = 0; public string image { get; set; } = string.Empty; } /// /// 获取商品sku列表传递 /// public class FMGetSku { /// /// 序列 /// [Display(Name = "序列")] [Required(ErrorMessage = "请输入要提交的序列参数")] public int id { get; set; } /// /// 是否计算优惠 /// public bool isPromotion { get; set; } = false; /// /// 获取类型 /// public string type { get; set; } = "goods"; /// /// 团购或秒杀传递的业务序列 /// public int groupId { get; set; } = 0; } }