移动系统liao
2024-08-15 f43970a061d3c90520b4e8f48caa17a204d9a085
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/***********************************************************************
 *            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("CoreCmsForm",TableDescription = "表单")]
    public partial class CoreCmsForm
    {
        /// <summary>
        /// 表单
        /// </summary>
        public CoreCmsForm()
        {
        }
 
        /// <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(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String name { get; set; }
        /// <summary>
        /// 表单类型
        /// </summary>
        [Display(Name = "表单类型")]
        [SugarColumn(ColumnDescription = "表单类型")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 type { get; set; }
        /// <summary>
        /// 表单排序
        /// </summary>
        [Display(Name = "表单排序")]
        [SugarColumn(ColumnDescription = "表单排序")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 sort { get; set; }
        /// <summary>
        /// 图集
        /// </summary>
        [Display(Name = "图集")]
        [SugarColumn(ColumnDescription = "图集", IsNullable = true)]
        public System.String images { get; set; }
        /// <summary>
        /// 视频地址
        /// </summary>
        [Display(Name = "视频地址")]
        [SugarColumn(ColumnDescription = "视频地址", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String videoPath { get; set; }
        /// <summary>
        /// 表单描述
        /// </summary>
        [Display(Name = "表单描述")]
        [SugarColumn(ColumnDescription = "表单描述", IsNullable = true)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String description { get; set; }
        /// <summary>
        /// 表头类型
        /// </summary>
        [Display(Name = "表头类型")]
        [SugarColumn(ColumnDescription = "表头类型")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 headType { get; set; }
        /// <summary>
        /// 表单头值
        /// </summary>
        [Display(Name = "表单头值")]
        [SugarColumn(ColumnDescription = "表单头值", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String headTypeValue { get; set; }
        /// <summary>
        /// 表单视频
        /// </summary>
        [Display(Name = "表单视频")]
        [SugarColumn(ColumnDescription = "表单视频", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String headTypeVideo { get; set; }
        /// <summary>
        /// 表单提交按钮名称
        /// </summary>
        [Display(Name = "表单提交按钮名称")]
        [SugarColumn(ColumnDescription = "表单提交按钮名称", IsNullable = true)]
        [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String buttonName { get; set; }
        /// <summary>
        /// 表单按钮颜色
        /// </summary>
        [Display(Name = "表单按钮颜色")]
        [SugarColumn(ColumnDescription = "表单按钮颜色", IsNullable = true)]
        [StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String buttonColor { get; set; }
        /// <summary>
        /// 是否需要登录
        /// </summary>
        [Display(Name = "是否需要登录")]
        [SugarColumn(ColumnDescription = "是否需要登录")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isLogin { get; set; }
        /// <summary>
        /// 可提交次数
        /// </summary>
        [Display(Name = "可提交次数")]
        [SugarColumn(ColumnDescription = "可提交次数")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 times { get; set; }
        /// <summary>
        /// 二维码图片地址
        /// </summary>
        [Display(Name = "二维码图片地址")]
        [SugarColumn(ColumnDescription = "二维码图片地址", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String qrcode { get; set; }
        /// <summary>
        /// 提交后提示语
        /// </summary>
        [Display(Name = "提交后提示语")]
        [SugarColumn(ColumnDescription = "提交后提示语", IsNullable = true)]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String returnMsg { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [Display(Name = "结束时间")]
        [SugarColumn(ColumnDescription = "结束时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime endDateTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updateTime { get; set; }
    }
}