zxl
2026-03-20 ee8b4f41b25d510eda0b1c7ec553b73f6d7dd7e6
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.tievd.jyz.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
 
/**
 * <p>
 * 自定义标签表
 * </p>
 *
 * @author
 * @since 2023-02-24
 */
@Data
@Accessors(chain = true)
@TableName("t_label")
@Schema(name = "Label", description = "自定义标签表")
public class Label extends Model<Label> {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "标签类型")
    @TableField("label_type")
    private String labelType;
 
    @Schema(description = "标签名")
    @TableField("label_name")
    private String labelName;
 
    @TableField("create_time")
    private Date createTime;
 
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}