fuliqi
2024-10-17 8546b3d285af4235a0ef615a0c6e89486ae2c806
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
package com.ycl.jxkg.domain.base;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author xp
 * @date 2022/11/29
 */
@Data
public abstract class AbsEntity {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
//    /** 创建时间 */
//    @TableField(value = "gmt_create", fill = FieldFill.INSERT)
//    private Date gmtCreate;
//
//    /** 修改时间 */
//    @TableField(value = "gmt_update", fill = FieldFill.INSERT_UPDATE)
//    private Date gmtUpdate;
 
    @TableField(value = "deleted", fill = FieldFill.INSERT, select = false)
    @TableLogic
    private Integer deleted;
 
}