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("`case_clinical_video_label`") // 指定数据库表名 public class CaseClinicalVideoLabelModel { /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) // 使用MyBatis-Plus的ID生成策略 private Long videoLabelId; /** * 临床视频id */ @TableField("video_id") private Long videoId; /** * app唯一标识 */ @TableField("app_iden") private String appIden; /** * 标签名称 */ @TableField("label_name") private String labelName; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) @JsonProperty("created_at") private LocalDateTime createdAt; /** * 修改时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) @JsonProperty("updated_at") private LocalDateTime updatedAt; }