zhaowenyu
2026-03-07 bc8f980e912825eaaadaf9fdd2367f443a56de02
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.ard.sample.annotation.model.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.io.Serializable;
 
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "annotation")
public class AnnotationEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @TableField(value = "directory_id")
    private Integer directoryId;
 
    @TableField(value = "name")
    private String name;
 
    @TableField(value = "color")
    private String color;
 
    @TableField(value = "annotation_type")
    private String annotationType;
 
    @TableField(value = "coordinate_info")
    private byte[] coordinateInfo;
 
    @TableField(value = "image_url")
    private String imageUrl;
 
    @TableField(value = "drawer")
    private String drawer;
 
    @TableField(value = "description")
    private String description;
 
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Long createTime;
 
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;
 
}