case-data-api/src/main/java/com/example/caseData/model/CaseClinicalVideoLabelModel.java

49 lines
1.1 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("`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;
}