/*********************************************************************** * 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("CoreCmsFormItem",TableDescription = "表单项表")] public partial class CoreCmsFormItem { /// /// 表单项表 /// public CoreCmsFormItem() { } /// /// 序列 /// [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 name { get; set; } /// /// 字段类型 /// [Display(Name = "字段类型")] [SugarColumn(ColumnDescription = "字段类型", IsNullable = true)] [StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String type { get; set; } /// /// 验证类型 /// [Display(Name = "验证类型")] [SugarColumn(ColumnDescription = "验证类型", IsNullable = true)] [StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String validationType { get; set; } /// /// 表单值 /// [Display(Name = "表单值")] [SugarColumn(ColumnDescription = "表单值", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String value { get; set; } /// /// 默认值 /// [Display(Name = "默认值")] [SugarColumn(ColumnDescription = "默认值", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String defaultValue { get; set; } /// /// 表单id /// [Display(Name = "表单id")] [SugarColumn(ColumnDescription = "表单id")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 formId { get; set; } /// /// 是否必填 /// [Display(Name = "是否必填")] [SugarColumn(ColumnDescription = "是否必填")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean required { get; set; } /// /// 排序 /// [Display(Name = "排序")] [SugarColumn(ColumnDescription = "排序")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 sort { get; set; } } }