All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.flood.log.model.Audit Maven / Gradle / Ivy

The newest version!
package cn.flood.log.model;

import cn.flood.log.enums.ActionEnum;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 审计日志
 */
@Getter
@Setter
public class Audit {

    /**
     * 操作时间
     */
    private LocalDateTime timestamp;
    /**
     * 应用名
     */
    private String applicationName;
    /**
     * 类名
     */
    private String className;
    /**
     * 方法名
     */
    private String methodName;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 租户id
     */
    private String clientId;
    /**
     * 操作信息
     */
    private String operation;
    /**
     * 请求IP
     */
    private String requestIP;
    /**
     * 主机IP
     */
    private String hostIP;
    /**
     * 请求参数
     */
    private String param;
    /**
     *操作类型
     */
    private ActionEnum actionType;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy