package org.springblade.modules.log.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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 操作日志实体类
|
* @author zhongrj
|
* @time 2022-06-09
|
*/
|
@Data
|
@TableName("sys_handler_log")
|
public class HandlerLog implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 操作日志主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 类型 1:用户新增 2:用户导入 3:培训报名 4:保安员证编号
|
*/
|
private Integer type;
|
|
/**
|
* 操作人id
|
*/
|
private String userId;
|
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
|
/**
|
* 操作时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date operatorTime;
|
|
/**
|
* 说明
|
*/
|
private String remark;
|
|
|
/**
|
* 操作单位 id
|
*/
|
private String deptId;
|
|
|
}
|