/*********************************************************************** * 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("CoreCmsForm",TableDescription = "表单")] public partial class CoreCmsForm { /// /// 表单 /// public CoreCmsForm() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 表单名称 /// [Display(Name = "表单名称")] [SugarColumn(ColumnDescription = "表单名称", IsNullable = true)] [StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String name { get; set; } /// /// 表单类型 /// [Display(Name = "表单类型")] [SugarColumn(ColumnDescription = "表单类型")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 type { get; set; } /// /// 表单排序 /// [Display(Name = "表单排序")] [SugarColumn(ColumnDescription = "表单排序")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 sort { get; set; } /// /// 图集 /// [Display(Name = "图集")] [SugarColumn(ColumnDescription = "图集", IsNullable = true)] public System.String images { get; set; } /// /// 视频地址 /// [Display(Name = "视频地址")] [SugarColumn(ColumnDescription = "视频地址", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String videoPath { get; set; } /// /// 表单描述 /// [Display(Name = "表单描述")] [SugarColumn(ColumnDescription = "表单描述", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String description { get; set; } /// /// 表头类型 /// [Display(Name = "表头类型")] [SugarColumn(ColumnDescription = "表头类型")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 headType { get; set; } /// /// 表单头值 /// [Display(Name = "表单头值")] [SugarColumn(ColumnDescription = "表单头值", IsNullable = true)] [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String headTypeValue { get; set; } /// /// 表单视频 /// [Display(Name = "表单视频")] [SugarColumn(ColumnDescription = "表单视频", IsNullable = true)] [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String headTypeVideo { get; set; } /// /// 表单提交按钮名称 /// [Display(Name = "表单提交按钮名称")] [SugarColumn(ColumnDescription = "表单提交按钮名称", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String buttonName { get; set; } /// /// 表单按钮颜色 /// [Display(Name = "表单按钮颜色")] [SugarColumn(ColumnDescription = "表单按钮颜色", IsNullable = true)] [StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String buttonColor { get; set; } /// /// 是否需要登录 /// [Display(Name = "是否需要登录")] [SugarColumn(ColumnDescription = "是否需要登录")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isLogin { get; set; } /// /// 可提交次数 /// [Display(Name = "可提交次数")] [SugarColumn(ColumnDescription = "可提交次数")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 times { get; set; } /// /// 二维码图片地址 /// [Display(Name = "二维码图片地址")] [SugarColumn(ColumnDescription = "二维码图片地址", IsNullable = true)] [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String qrcode { get; set; } /// /// 提交后提示语 /// [Display(Name = "提交后提示语")] [SugarColumn(ColumnDescription = "提交后提示语", IsNullable = true)] [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String returnMsg { get; set; } /// /// 结束时间 /// [Display(Name = "结束时间")] [SugarColumn(ColumnDescription = "结束时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime endDateTime { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] [SugarColumn(ColumnDescription = "创建时间")] [Required(ErrorMessage = "请输入{0}")] public System.DateTime createTime { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public System.DateTime? updateTime { get; set; } } }