init
This commit is contained in:
42
DouyinApi.Model/Models/Topic.cs
Normal file
42
DouyinApi.Model/Models/Topic.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DouyinApi.Model.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Tibug 类别
|
||||
/// </summary>
|
||||
public class Topic : RootEntityTkey<long>
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user