case-data-api/src/main/java/com/example/caseData/model/StatsCaseClinicalDoctorModel.java
2025-07-29 15:28:33 +08:00

99 lines
2.0 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.model;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 统计表-病例库-临床-用户实体类
*/
@Data // Lombok注解用于自动生成getter/setter方法等
@TableName("`stats_case_clinical_doctor`") // 指定数据库表名
public class StatsCaseClinicalDoctorModel {
/**
* 主键id
*/
@TableId(type = IdType.ASSIGN_ID)
private Long statsId;
/**
* 医生id
*/
@TableField("doctor_id")
private Long doctorId;
/**
* 数量-文章
*/
@TableField("article_num")
private Integer articleNum;
/**
* 总阅读量-文章
*/
@TableField("article_read_num")
private Integer articleReadNum;
/**
* 总收藏量-文章
*/
@TableField("article_collect_num")
private Integer articleCollectNum;
/**
* 总评论量-文章
*/
@TableField("article_comment_num")
private Integer articleCommentNum;
/**
* 最后一篇文章发表时间
*/
@TableField("last_push_date")
private LocalDateTime lastPushDate;
/**
* 数量-视频
*/
@TableField("video_num")
private Integer videoNum;
/**
* 总阅读量-视频
*/
@TableField("video_read_num")
private Integer videoReadNum;
/**
* 总收藏量-视频
*/
@TableField("video_collect_num")
private Integer videoCollectNum;
/**
* 总评论量-视频
*/
@TableField("video_comment_num")
private Integer VideoCommentNum;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
@JsonProperty("created_at")
private LocalDateTime createdAt;
/**
* 修改时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updatedAt;
/**
* 医生
*/
@TableField(exist = false)
private CaseClinicalDoctorModel caseClinicalDoctor;
}