forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathTopic.cs
More file actions
42 lines (35 loc) · 1.22 KB
/
Topic.cs
File metadata and controls
42 lines (35 loc) · 1.22 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
using SqlSugar;
using System;
using System.Collections.Generic;
namespace Blog.Core.Model.Models
{
/// <summary>
/// Tibug 类别
/// </summary>
public class Topic : RootEntityTkey<int>
{
public Topic()
{
this.TopicDetail = new List<TopicDetail>();
this.tUpdatetime = DateTime.Now;
}
[SugarColumn(Length = 200, IsNullable = true)]
public string tLogo { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tName { get; set; }
[SugarColumn(Length = 400, IsNullable = true)]
public string tDetail { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tAuthor { get; set; }
[SugarColumn(Length = 200, IsNullable = true)]
public string tSectendDetail { get; set; }
public bool tIsDelete { get; set; }
public int tRead { get; set; }
public int tCommend { get; set; }
public int tGood { get; set; }
public DateTime tCreatetime { get; set; }
public DateTime tUpdatetime { get; set; }
[SugarColumn(IsIgnore = true)]
public virtual ICollection<TopicDetail> TopicDetail { get; set; }
}
}