Helius
2021-12-13 9818cc4e358390e25ac17a4ffcffd7c55a45ebb5
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
package cc.mrbird.febs.common.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
public class BaseEntity implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    private Integer revision = 1;
 
    private String createdBy = "system";
 
    private String updatedBy = "system";
 
    private Date createdTime = new Date();
 
    private Date updatedTime = new Date();
 
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
}