You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
1.3 KiB

using SqlSugar;
using System;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Tibug 博文
/// </summary>
public class TopicDetail : TopicDetailRoot<long>
{
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; }
}
}