123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- package com.ruoyi.system.domain.communityNews;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * 社区资讯评论对象 comment_index
- *
- * @author boman
- * @date 2025-02-25
- */
- public class CommentIndex extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 社区资讯评论ID */
- private Long commentId;
- /** 社区资讯ID */
- @Excel(name = "社区资讯ID")
- private Long communityId;
- /** 社区资讯标题 */
- @Excel(name = "社区资讯标题")
- private String communityTitle;
- /** 社区资讯类型(1:公告 2:通知 3:资讯) */
- @Excel(name = "社区资讯类型", readConverterExp = "1=:公告,2=:通知,3=:资讯")
- private String communityType;
- /** 根评论id 1:根评论 2:子评论 */
- @Excel(name = "根评论id 1:根评论 2:子评论")
- private Integer isRoot;
- /** 父评论id */
- @Excel(name = "父评论id")
- private Long parentId;
- /** 用户id */
- @Excel(name = "用户id")
- private Long userId;
- /** 用户昵称 */
- @Excel(name = "用户昵称")
- private String nickName;
- /** 头像地址 */
- @Excel(name = "头像地址")
- private String avatar;
- /** 所回复目标评论的用户id */
- @Excel(name = "所回复目标评论的用户id")
- private Long toUserId;
- /** 所回复目标评论的用户昵称 */
- @Excel(name = "所回复目标评论的用户昵称")
- private String toNickName;
- /** 所回复目标评论的头像地址 */
- @Excel(name = "所回复目标评论的头像地址")
- private String toAvatar;
- /**
- * 是否是二级回复的回复 Y:是 N:否
- */
- private String toRoot;
- /**
- * 是否是自己的评论
- */
- private String isMyself;
- /** 内容id */
- @Excel(name = "内容id")
- private Long contentId;
- /** 评论内容(冗余字段) */
- @Excel(name = "评论内容(冗余字段)")
- private String commentContent;
- /** 逻辑删除(Y:已删除,N:未删除) */
- private String delFlag;
- public String getIsMyself() {
- return isMyself;
- }
- public void setIsMyself(String isMyself) {
- this.isMyself = isMyself;
- }
- public String getToRoot() {
- return toRoot;
- }
- public void setToRoot(String toRoot) {
- this.toRoot = toRoot;
- }
- public String getCommunityTitle() {
- return communityTitle;
- }
- public void setCommunityTitle(String communityTitle) {
- this.communityTitle = communityTitle;
- }
- public void setCommentId(Long commentId)
- {
- this.commentId = commentId;
- }
- public Long getCommentId()
- {
- return commentId;
- }
- public void setCommunityId(Long communityId)
- {
- this.communityId = communityId;
- }
- public Long getCommunityId()
- {
- return communityId;
- }
- public void setCommunityType(String communityType)
- {
- this.communityType = communityType;
- }
- public String getCommunityType()
- {
- return communityType;
- }
- public void setIsRoot(Integer isRoot)
- {
- this.isRoot = isRoot;
- }
- public Integer getIsRoot()
- {
- return isRoot;
- }
- public void setParentId(Long parentId)
- {
- this.parentId = parentId;
- }
- public Long getParentId()
- {
- return parentId;
- }
- public void setUserId(Long userId)
- {
- this.userId = userId;
- }
- public Long getUserId()
- {
- return userId;
- }
- public void setNickName(String nickName)
- {
- this.nickName = nickName;
- }
- public String getNickName()
- {
- return nickName;
- }
- public void setAvatar(String avatar)
- {
- this.avatar = avatar;
- }
- public String getAvatar()
- {
- return avatar;
- }
- public void setToUserId(Long toUserId)
- {
- this.toUserId = toUserId;
- }
- public Long getToUserId()
- {
- return toUserId;
- }
- public void setToNickName(String toNickName)
- {
- this.toNickName = toNickName;
- }
- public String getToNickName()
- {
- return toNickName;
- }
- public void setToAvatar(String toAvatar)
- {
- this.toAvatar = toAvatar;
- }
- public String getToAvatar()
- {
- return toAvatar;
- }
- public void setContentId(Long contentId)
- {
- this.contentId = contentId;
- }
- public Long getContentId()
- {
- return contentId;
- }
- public void setCommentContent(String commentContent)
- {
- this.commentContent = commentContent;
- }
- public String getCommentContent()
- {
- return commentContent;
- }
- public void setDelFlag(String delFlag)
- {
- this.delFlag = delFlag;
- }
- public String getDelFlag()
- {
- return delFlag;
- }
- @Override
- public String toString() {
- return "CommentIndex{" +
- "commentId=" + commentId +
- ", communityId=" + communityId +
- ", communityTitle='" + communityTitle + '\'' +
- ", communityType='" + communityType + '\'' +
- ", isRoot=" + isRoot +
- ", parentId=" + parentId +
- ", userId=" + userId +
- ", nickName='" + nickName + '\'' +
- ", avatar='" + avatar + '\'' +
- ", toUserId=" + toUserId +
- ", toNickName='" + toNickName + '\'' +
- ", toAvatar='" + toAvatar + '\'' +
- ", toRoot='" + toRoot + '\'' +
- ", isMyself='" + isMyself + '\'' +
- ", contentId=" + contentId +
- ", commentContent='" + commentContent + '\'' +
- ", delFlag='" + delFlag + '\'' +
- '}';
- }
- }
|