init
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
package com.newyetai.common.log.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 操作日志
|
||||
* @author sr on 2020-10-26
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class OperationLogDTO implements Serializable {
|
||||
|
||||
/** **/
|
||||
private static final long serialVersionUID = -6817430348970835175L;
|
||||
|
||||
/** 链路id **/
|
||||
private String traceId;
|
||||
|
||||
/** spanid **/
|
||||
private String spanId;
|
||||
|
||||
/** 上一级链路id **/
|
||||
private String parentId;
|
||||
|
||||
/** 系统名称 **/
|
||||
private String systemName;
|
||||
|
||||
/** ip **/
|
||||
private String ip;
|
||||
|
||||
/** 请求地址 **/
|
||||
private String requestUri;
|
||||
|
||||
/** 请求类型 **/
|
||||
private String requestMethod;
|
||||
|
||||
/** 请求参数 **/
|
||||
private Object requestBody;
|
||||
|
||||
/** 请求时间 **/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date requestTime;
|
||||
|
||||
/** 请求耗时(ms) **/
|
||||
private Long useTime;
|
||||
|
||||
/** 请求结果 **/
|
||||
private Object result;
|
||||
|
||||
/** 当前登录用户信息:属性见上下文用户对象 **/
|
||||
private Object loginUser;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user