forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathTopicDetail.cs
More file actions
47 lines (36 loc) · 1.28 KB
/
TopicDetail.cs
File metadata and controls
47 lines (36 loc) · 1.28 KB
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
using SqlSugar;
using System;
namespace Blog.Core.Model.Models
{
/// <summary>
/// Tibug 博文
/// </summary>
public class TopicDetail : TopicDetailRoot<int>
{
public TopicDetail()
{
this.tdUpdatetime = DateTime.Now;
}
[SugarColumn(Length = 200, IsNullable = true)]
public string tdLogo { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tdName { get; set; }
[SugarColumn(Length = 2000, IsNullable = true)]
public string tdContent { get; set; }
[SugarColumn(Length = 2000, IsNullable = true)]
public string tdDetail { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tdSectendDetail { get; set; }
public bool tdIsDelete { get; set; } = false;
public int tdRead { get; set; }
public int tdCommend { get; set; }
public int tdGood { get; set; }
public DateTime tdCreatetime { get; set; }
public DateTime tdUpdatetime { get; set; }
public int tdTop { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tdAuthor { get; set; }
[SugarColumn(IsIgnore = true)]
public virtual Topic Topic { get; set; }
}
}