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
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email: 34161541@qq.com
 *         CreateTime: 2024-03-01 22:14:58
 *        Description: 暂无
***********************************************************************/ 
using SqlSugar;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 地区表
    /// </summary>
    [SugarTable("CoreCmsArea",TableDescription = "地区表")]
    public partial class CoreCmsArea
    {
        /// <summary>
        /// 地区表
        /// </summary>
        public CoreCmsArea()
        {
        }
 
        /// <summary>
        /// 地区ID
        /// </summary>
        [Display(Name = "地区ID")]
        [SugarColumn(ColumnDescription = "地区ID", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        [Display(Name = "父级ID")]
        [SugarColumn(ColumnDescription = "父级ID", IsNullable = true)]
        public System.Int32? parentId { get; set; }
        /// <summary>
        /// 地区深度
        /// </summary>
        [Display(Name = "地区深度")]
        [SugarColumn(ColumnDescription = "地区深度", IsNullable = true)]
        public System.Int32? depth { get; set; }
        /// <summary>
        /// 地区名称
        /// </summary>
        [Display(Name = "地区名称")]
        [SugarColumn(ColumnDescription = "地区名称", IsNullable = true)]
        [StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String name { get; set; }
        /// <summary>
        /// 地区排序
        /// </summary>
        [Display(Name = "地区排序")]
        [SugarColumn(ColumnDescription = "地区排序")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 sort { get; set; }
    }
}