username@email.com
2024-10-29 3f91a6737fc06b45461ce11eae5660cbbf766f7e
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 2021/10/18 9:26:42
 *        Description: 暂无
 ***********************************************************************/
 
using System.ComponentModel.DataAnnotations;
using Chuanyin.Attribute;
using SqlSugar;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    ///     购物车表
    /// </summary>
   
    public class CoreCmsCart
    {
        /// <summary>
        ///     序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int id { get; set; }
 
 
        /// <summary>
        ///     用户序列
        /// </summary>
        [Display(Name = "用户序列")]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int userId { get; set; }
 
 
        /// <summary>
        ///     货品序列
        /// </summary>
        [Display(Name = "货品序列")]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int productId { get; set; }
 
 
        /// <summary>
        ///     货品数量
        /// </summary>
        [Display(Name = "货品数量")]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int nums { get; set; }
 
 
        /// <summary>
        ///     购物车类型
        /// </summary>
        [Display(Name = "购物车类型")]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int type { get; set; }
 
 
        /// <summary>
        ///     关联对象序列
        /// </summary>
        [Display(Name = "关联对象序列")]
        [Required(ErrorMessage = "请输入{0}")]
 
 
        public int objectId { get; set; }
 
        /// <summary>
        /// 是否定制
        /// </summary>
        [SugarColumn(IsNullable =true)]
        public  bool isCustomizable {  get; set; }=false;
    }
}