username@email.com
2024-07-02 89879d47da4c63103ec38595c5dd014a12c01cca
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email: 34161541@qq.com
 *         CreateTime: 2024-03-01 22:14:58
 *        Description: 暂无
***********************************************************************/
using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 经销商表
    /// </summary>
    [SugarTable("CoreCmsDistribution",TableDescription = "经销商表")]
 
    public partial class CoreCmsDistribution
    {
        /// <summary>
        /// 经销商表
        /// </summary>
        public CoreCmsDistribution()
        {
        }
 
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        [Display(Name = "用户Id")]
        [SugarColumn(ColumnDescription = "用户Id")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 userId { get; set; }
        /// <summary>
        /// 经销商名称
        /// </summary>
        [Display(Name = "经销商名称")]
        [SugarColumn(ColumnDescription = "经销商名称", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String name { get; set; }
        /// <summary>
        /// 分销等级
        /// </summary>
        [Display(Name = "分销等级")]
        [SugarColumn(ColumnDescription = "分销等级")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 gradeId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [Display(Name = "手机号")]
        [SugarColumn(ColumnDescription = "手机号", IsNullable = false)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String mobile { get; set; }
        /// <summary>
        /// 微信号
        /// </summary>
        [Display(Name = "微信号")]
        [SugarColumn(ColumnDescription = "微信号", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String weixin { get; set; }
        /// <summary>
        /// qq号
        /// </summary>
        [Display(Name = "qq号")]
        [SugarColumn(ColumnDescription = "qq号", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String qq { get; set; }
        /// <summary>
        /// 店铺名称
        /// </summary>
        [Display(Name = "店铺名称")]
        [SugarColumn(ColumnDescription = "店铺名称", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeName { get; set; }
        /// <summary>
        /// 店铺Logo
        /// </summary>
        [Display(Name = "店铺Logo")]
        [SugarColumn(ColumnDescription = "店铺Logo", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeLogo { get; set; }
        /// <summary>
        /// 店铺Banner
        /// </summary>
        [Display(Name = "店铺Banner")]
        [SugarColumn(ColumnDescription = "店铺Banner", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeBanner { get; set; }
        /// <summary>
        /// 店铺简介
        /// </summary>
        [Display(Name = "店铺简介")]
        [SugarColumn(ColumnDescription = "店铺简介", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeDesc { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        [Display(Name = "审核状态")]
        [SugarColumn(ColumnDescription = "审核状态")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 verifyStatus { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updateTime { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        [Display(Name = "审核时间")]
        [SugarColumn(ColumnDescription = "审核时间", IsNullable = true)]
        public System.DateTime? verifyTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        [Display(Name = "是否删除")]
        [SugarColumn(ColumnDescription = "是否删除")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDelete { get; set; }
        /********************************************* 增加字段 ************************************/
        /// <summary>
        /// 店铺区域
        /// </summary>
        [Display(Name = "店铺区域")]
        [SugarColumn(ColumnDescription = "店铺区域" , IsNullable = true)]   
        public string areaCode { get; set; }
 
        /// <summary>
        /// 地址详情
        /// </summary>
        [Display(Name = "地址详情")]
        [SugarColumn(ColumnDescription = "地址详情")]
        public string address { get; set; }
 
        /// <summary>
        /// 年销售额
        /// </summary>
        [Display(Name = "年销售额")]
        [SugarColumn(ColumnDescription = "年销售额" ,IsNullable =true)]
        public decimal? sales { get; set; } = 0;
 
 
        /// <summary>
        /// 所属行业
        /// </summary>
        [Display(Name = "所属行业")]
        [SugarColumn(ColumnDescription = "所属行业")]
        public string profession { get; set; }
        /// <summary>
        /// 店铺定位
        /// </summary>
        [Display(Name = "店铺定位")]
        [SugarColumn(ColumnDescription = "店铺定位", IsNullable =true)]
        public string storeCoordinate { get; set; }
 
 
        /// <summary>
        /// 身份证
        /// </summary>
        [Display(Name = "身份证")]
        [SugarColumn(ColumnDescription = "身份证", IsNullable = true)]
        public string idCradNumber { get; set; }
 
 
        /// <summary>
        /// 学校名称
        /// </summary>
        [Display(Name = "学校名称")]
        [SugarColumn(ColumnDescription = "学校名称", IsNullable = true)]
        public string schoolName { get; set; }
 
 
    }
}