Files
senmesh-zc/src/main/java/com/newyetai/common/log/dto/OperationLogDTO.java
ran.shang 7e38b8d971 init
2025-06-11 09:42:13 +08:00

60 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}