username@email.com
2024-10-29 3f91a6737fc06b45461ce11eae5660cbbf766f7e
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
/***********************************************************************
 *            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("CoreCmsNotice",TableDescription = "公告表")]
    public partial class CoreCmsNotice
    {
        /// <summary>
        /// 公告表
        /// </summary>
        public CoreCmsNotice()
        {
        }
 
        /// <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 = "公告标题")]
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public System.String title { get; set; }
        /// <summary>
        /// 公告内容
        /// </summary>
        [Display(Name = "公告内容")]
        [SugarColumn(ColumnDescription = "公告内容")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.String contentBody { get; set; }
        /// <summary>
        /// 公告类型
        /// </summary>
        [Display(Name = "公告类型")]
        [SugarColumn(ColumnDescription = "公告类型", IsNullable = true)]
        public System.Int32? type { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [Display(Name = "排序")]
        [SugarColumn(ColumnDescription = "排序", IsNullable = true)]
        public System.Int32? sort { get; set; }
        /// <summary>
        /// 软删除位  有时间代表已删除
        /// </summary>
        [Display(Name = "软删除位  有时间代表已删除")]
        [SugarColumn(ColumnDescription = "软删除位  有时间代表已删除", IsNullable = true)]
        public System.Boolean? isDel { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
        public System.DateTime? createTime { get; set; }
    }
}