package cn.lihu.jh.module.system.api.logger.dto;
|
|
import com.fhs.core.trans.anno.Trans;
|
import com.fhs.core.trans.constant.TransType;
|
import com.fhs.core.trans.vo.VO;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 系统操作日志 Resp DTO
|
*
|
* @author HUIHUI
|
*/
|
@Data
|
public class OperateLogRespDTO implements VO {
|
|
/**
|
* 日志编号
|
*/
|
private Long id;
|
/**
|
* 链路追踪编号
|
*/
|
private String traceId;
|
/**
|
* 用户编号
|
*/
|
@Trans(type = TransType.SIMPLE, targetClassName = "cn.lihu.jh.module.system.dal.dataobject.user.AdminUserDO",
|
fields = "nickname", ref = "userName")
|
private Long userId;
|
/**
|
* 用户名称
|
*/
|
private String userName;
|
/**
|
* 用户类型
|
*/
|
private Integer userType;
|
/**
|
* 操作模块类型
|
*/
|
private String type;
|
/**
|
* 操作名
|
*/
|
private String subType;
|
/**
|
* 操作模块业务编号
|
*/
|
private Long bizId;
|
/**
|
* 操作内容
|
*/
|
private String action;
|
/**
|
* 拓展字段
|
*/
|
private String extra;
|
|
/**
|
* 请求方法名
|
*/
|
private String requestMethod;
|
/**
|
* 请求地址
|
*/
|
private String requestUrl;
|
/**
|
* 用户 IP
|
*/
|
private String userIp;
|
/**
|
* 浏览器 UA
|
*/
|
private String userAgent;
|
|
/**
|
* 创建时间
|
*/
|
private LocalDateTime createTime;
|
|
}
|