| 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; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2021-09-16 | 
|  **/ | 
| @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; | 
| } |