123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- package org.jeecg.modules.system.entity;
- import java.util.Date;
- import org.jeecg.common.aspect.annotation.Dict;
- import org.springframework.format.annotation.DateTimeFormat;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import java.io.Serializable;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- /**
- * <p>
- * 系统日志表
- * </p>
- *
- * @Author zhangweijian
- * @since 2018-12-26
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- public class SysLog implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId(type = IdType.ASSIGN_ID)
- private String id;
- /**
- * 创建人
- */
- private String createBy;
- /**
- * 创建时间
- */
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date createTime;
- /**
- * 更新人
- */
- private String updateBy;
- /**
- * 更新时间
- */
- private Date updateTime;
- /**
- * 耗时
- */
- private Long costTime;
- /**
- * IP
- */
- private String ip;
- /**
- * 请求参数
- */
- private String requestParam;
- /**
- * 请求类型
- */
- private String requestType;
- /**
- * 请求路径
- */
- private String requestUrl;
- /**
- * 请求方法
- */
- private String method;
- /**
- * 操作人用户名称
- */
- private String username;
- /**
- * 操作人用户账户
- */
- private String userid;
- /**
- * 操作详细日志
- */
- private String logContent;
- /**
- * 日志类型(1登录日志,2操作日志)
- */
- @Dict(dicCode = "log_type")
- private Integer logType;
- /**
- * 操作类型(1查询,2添加,3修改,4删除,5导入,6导出)
- */
- @Dict(dicCode = "operate_type")
- private Integer operateType;
- }
|