/*********************************************************************** * 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 { /// /// 地区表 /// [SugarTable("CoreCmsArea",TableDescription = "地区表")] public partial class CoreCmsArea { /// /// 地区表 /// public CoreCmsArea() { } /// /// 地区ID /// [Display(Name = "地区ID")] [SugarColumn(ColumnDescription = "地区ID", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 父级ID /// [Display(Name = "父级ID")] [SugarColumn(ColumnDescription = "父级ID", IsNullable = true)] public System.Int32? parentId { get; set; } /// /// 地区深度 /// [Display(Name = "地区深度")] [SugarColumn(ColumnDescription = "地区深度", IsNullable = true)] public System.Int32? depth { get; set; } /// /// 地区名称 /// [Display(Name = "地区名称")] [SugarColumn(ColumnDescription = "地区名称", IsNullable = true)] [StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String name { get; set; } /// /// 地区排序 /// [Display(Name = "地区排序")] [SugarColumn(ColumnDescription = "地区排序")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 sort { get; set; } } }