liaoxujun@qq.com
2024-03-04 c8f9d5977cc950592f0ccfea01237eccde506350
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 百分兵法管理系统                               
 *                Web: hhtp://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 202403/02   
 *        Description: 暂无
 ***********************************************************************/
 
 
using System.ComponentModel.DataAnnotations;
using System.Xml.Linq;
 
namespace CoreCms.Net.Model.FromBody
{
    internal class FMProducts
    {
    }
 
 
    /// <summary>
    ///     获取子规格
    /// </summary>
    public class ItemSpesDesc
    {
        public string name { get; set; } = string.Empty;
        public bool isDefault { get; set; } = false;
        public int productId { get; set; } = 0;
    }
 
 
    /// <summary>
    ///     获取相应规格
    /// </summary>
    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;
 
    }
 
    /// <summary>
    /// 获取商品sku列表传递
    /// </summary>
    public class FMGetSku
    {
        /// <summary>
        ///     序列
        /// </summary>
        [Display(Name = "序列")]
        [Required(ErrorMessage = "请输入要提交的序列参数")]
        public int id { get; set; }
 
        /// <summary>
        /// 是否计算优惠
        /// </summary>
        public bool isPromotion { get; set; } = false;
 
        /// <summary>
        /// 获取类型
        /// </summary>
        public string type { get; set; } = "goods";
 
        /// <summary>
        /// 团购或秒杀传递的业务序列
        /// </summary>
        public int groupId { get; set; } = 0;
    }
 
 
}