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
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
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 百分兵法管理系统                               
 *                Web: hhtp://chuanyin.com                     
 *             Author:                                        
 *              Email: jianweie@163.com
 *         CreateTime: 2021-06-08 22:14:59
 *        Description: 暂无
***********************************************************************/ 
using SqlSugar;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 门店表
    /// </summary>
    [SugarTable("CoreCmsStore",TableDescription = "门店表")]
    public partial class CoreCmsStore
    {
        /// <summary>
        /// 门店表
        /// </summary>
        public CoreCmsStore()
        {
        }
 
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 门店名称
        /// </summary>
        [Display(Name = "门店名称")]
        [SugarColumn(ColumnDescription = "门店名称", IsNullable = true)]
        [StringLength(125, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String storeName { get; set; }
        /// <summary>
        /// 门店电话/手机号
        /// </summary>
        [Display(Name = "门店电话/手机号")]
        [SugarColumn(ColumnDescription = "门店电话/手机号", IsNullable = true)]
        [StringLength(13, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String mobile { get; set; }
        /// <summary>
        /// 门店联系人
        /// </summary>
        [Display(Name = "门店联系人")]
        [SugarColumn(ColumnDescription = "门店联系人", IsNullable = true)]
        [StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String linkMan { get; set; }
        /// <summary>
        /// 门店logo
        /// </summary>
        [Display(Name = "门店logo")]
        [SugarColumn(ColumnDescription = "门店logo", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String logoImage { get; set; }
        /// <summary>
        /// 门店地区id
        /// </summary>
        [Display(Name = "门店地区id")]
        [SugarColumn(ColumnDescription = "门店地区id")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 areaId { get; set; }
        /// <summary>
        /// 门店详细地址
        /// </summary>
        [Display(Name = "门店详细地址")]
        [SugarColumn(ColumnDescription = "门店详细地址", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String address { get; set; }
        /// <summary>
        /// 坐标位置
        /// </summary>
        [Display(Name = "坐标位置")]
        [SugarColumn(ColumnDescription = "坐标位置", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String coordinate { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        [Display(Name = "纬度")]
        [SugarColumn(ColumnDescription = "纬度", IsNullable = true)]
        [StringLength(40, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String latitude { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        [Display(Name = "经度")]
        [SugarColumn(ColumnDescription = "经度", IsNullable = true)]
        [StringLength(40, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String longitude { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        [Display(Name = "是否默认")]
        [SugarColumn(ColumnDescription = "是否默认")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDefault { 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 = "距离")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Decimal distance { get; set; }
    }
}