using SqlSugar; using System; namespace Tiobon.Core.Model.Models { public class Guestbook : RootEntityTkey { /// 博客ID /// /// public long? TiobonId { get; set; } /// 创建时间 /// /// public DateTime createdate { get; set; } [SugarColumn(Length = 2000, IsNullable = true)] public string username { get; set; } /// 手机 /// /// [SugarColumn(Length = 2000, IsNullable = true)] public string phone { get; set; } /// qq /// /// [SugarColumn(Length = 2000, IsNullable = true)] public string QQ { get; set; } /// 留言内容 /// /// [SugarColumn(Length = 2000, IsNullable = true)] public string body { get; set; } /// ip地址 /// /// [SugarColumn(Length = 2000, IsNullable = true)] public string ip { get; set; } /// 是否显示在前台,0否1是 /// /// public bool isshow { get; set; } [SugarColumn(IsIgnore = true)] public TiobonArticle Tiobonarticle { get; set; } } }