| | |
| | | package cc.mrbird.febs.common.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | |
| | | @TableId(value = "id",type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | private String createBy; |
| | | private String createBy = "system"; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | private Date createTime = new Date(); |
| | | |
| | | private String updateBy; |
| | | private String updateBy = "system"; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | private Date updateTime = new Date();; |
| | | |
| | | private Integer version; |
| | | private Integer version = 1; |
| | | |
| | | @TableField(exist = false) |
| | | private Long currentUser; |
| | | } |