2025-05-12 13:28:44 +08:00

86 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}