/*********************************************************************** * Project: CoreCms * ProjectName: 百分兵法管理系统 * Web: hhtp://chuanyin.com * Author: * Email: jianweie@163.com * CreateTime: 2021-06-08 22:14:58 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 单页 /// [SugarTable("CoreCmsPages",TableDescription = "单页")] public partial class CoreCmsPages { /// /// 单页 /// public CoreCmsPages() { } /// /// /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 可视化区域编码 /// [Display(Name = "可视化区域编码")] [SugarColumn(ColumnDescription = "可视化区域编码", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String code { get; set; } /// /// 可编辑区域名称 /// [Display(Name = "可编辑区域名称")] [SugarColumn(ColumnDescription = "可编辑区域名称", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String name { get; set; } /// /// 描述 /// [Display(Name = "描述")] [SugarColumn(ColumnDescription = "描述", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String description { get; set; } /// /// 布局样式编码,1,手机端 /// [Display(Name = "布局样式编码,1,手机端")] [SugarColumn(ColumnDescription = "布局样式编码,1,手机端", IsNullable = true)] public System.Int32? layout { get; set; } /// /// 1手机端,2PC端 /// [Display(Name = "1手机端,2PC端")] [SugarColumn(ColumnDescription = "1手机端,2PC端", IsNullable = true)] public System.Int32? type { get; set; } } }