package com.yn.bftl.thirdparty.modules.log.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * 日志请求DTO
 *
 * @author chendehuihuo
 * @date 2021/12/25
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "LoggerDTO", description="日志请求DTO")
public class LoggerDTO {

    @ApiModelProperty(value = "消息内容")
    private String message;

    @ApiModelProperty(value = "携带参数")
    private Map<String, Object> attachment;

    @ApiModelProperty(value = "类名称")
    private String className;

    @ApiModelProperty(value = "方法名称")
    private String functionName;

    @ApiModelProperty(value = "日志类型")
    private String logType;

}
