86 lines
1.6 KiB
Java
86 lines
1.6 KiB
Java
package com.example.caseData.dto.userCommentClinicalArticle;
|
||
|
||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||
import lombok.Data;
|
||
import java.time.LocalDateTime;
|
||
|
||
@Data
|
||
public class UserCommentClinicalArticleDto {
|
||
/**
|
||
* 主键id
|
||
*/
|
||
@JsonProperty("comment_id")
|
||
private Long commentId;
|
||
|
||
/**
|
||
* 用户id
|
||
*/
|
||
@JsonProperty("user_id")
|
||
private Long userId;
|
||
|
||
/**
|
||
* 临床文章id
|
||
*/
|
||
@JsonProperty("article_id")
|
||
private Long articleId;
|
||
|
||
/**
|
||
* 父级id,一级评论为null
|
||
*/
|
||
@JsonProperty("parent_id")
|
||
private Long parentId;
|
||
|
||
/**
|
||
* 根评论id,一级评论时为null。其余为一级评论id
|
||
*/
|
||
@JsonProperty("root_id")
|
||
private Long rootId;
|
||
|
||
/**
|
||
* 评论状态(0:禁用 1:正常)
|
||
*/
|
||
@JsonProperty("status")
|
||
private Integer status;
|
||
|
||
/**
|
||
* 是否存在敏感词(0:否 1:是)
|
||
*/
|
||
@JsonProperty("is_sensitive")
|
||
private Integer isSensitive;
|
||
|
||
/**
|
||
* 是否优质留言(0:否 1:是)
|
||
*/
|
||
@JsonProperty("is_high_quality")
|
||
private Integer isHighQuality;
|
||
|
||
/**
|
||
* 点赞数量
|
||
*/
|
||
@JsonProperty("like_num")
|
||
private Integer likeNum;
|
||
|
||
/**
|
||
* 评论内容
|
||
*/
|
||
@JsonProperty("content")
|
||
private String content;
|
||
|
||
/**
|
||
* 评论内容(原版)
|
||
*/
|
||
@JsonProperty("content_word")
|
||
private String contentWord;
|
||
|
||
/**
|
||
* 创建时间
|
||
*/
|
||
@JsonProperty("created_at")
|
||
private LocalDateTime createdAt;
|
||
|
||
/**
|
||
* 修改时间
|
||
*/
|
||
@JsonProperty("updated_at")
|
||
private LocalDateTime updatedAt;
|
||
} |