forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTopic.cs
More file actions
34 lines (32 loc) · 991 Bytes
/
Topic.cs
File metadata and controls
34 lines (32 loc) · 991 Bytes
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blog.Core.Model.Models
{
/// <summary>博客文章
///
/// </summary
public class Topic
{
public Topic()
{
this.TopicDetail = new List<TopicDetail>();
this.tUpdatetime = DateTime.Now;
}
public int Id { get; set; }
public string tLogo { get; set; }
public string tName { get; set; }
public string tDetail { get; set; }
public string tAuthor { get; set; }
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; }
public virtual ICollection<TopicDetail> TopicDetail { get; set; }
}
}