2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///模板评论表
|
|
|
|
|
///</summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
[SugarTable("CommunityMessageComment")]
|
2026-06-05 15:52:11 +08:00
|
|
|
public partial class CommunityMessageComment : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
2026-06-05 15:52:11 +08:00
|
|
|
public CommunityMessageComment(){
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2026-06-02 14:10:43 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:消息Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long MessageId {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:模板Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TemplateId {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:评论类型
|
|
|
|
|
/// Default:TemplateComment
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public CommunityMessageCommentTypeEnum Type {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:状态: Published, Hidden
|
|
|
|
|
/// Default:Published
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public CommunityMessageCommentStatusEnum Status {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
}
|
|
|
|
|
}
|