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