package com.writeoff.module.system.model;

public class OperationAuditLogInfo {
    private Long id;
    private Long tenantId;
    private Long userId;
    private String scope;
    private String actionCode;
    private String bizType;
    private String bizId;
    private String httpMethod;
    private String requestUri;
    private String requestId;
    private Integer statusCode;
    private Boolean success;
    private String errorMessage;
    private String ip;
    private String createdAt;

    public OperationAuditLogInfo(Long id, Long tenantId, Long userId, String scope, String actionCode, String bizType, String bizId,
                                 String httpMethod, String requestUri, String requestId, Integer statusCode, Boolean success,
                                 String errorMessage, String ip, String createdAt) {
        this.id = id;
        this.tenantId = tenantId;
        this.userId = userId;
        this.scope = scope;
        this.actionCode = actionCode;
        this.bizType = bizType;
        this.bizId = bizId;
        this.httpMethod = httpMethod;
        this.requestUri = requestUri;
        this.requestId = requestId;
        this.statusCode = statusCode;
        this.success = success;
        this.errorMessage = errorMessage;
        this.ip = ip;
        this.createdAt = createdAt;
    }

    public Long getId() {
        return id;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public Long getUserId() {
        return userId;
    }

    public String getScope() {
        return scope;
    }

    public String getActionCode() {
        return actionCode;
    }

    public String getBizType() {
        return bizType;
    }

    public String getBizId() {
        return bizId;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public String getRequestId() {
        return requestId;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public Boolean getSuccess() {
        return success;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public String getIp() {
        return ip;
    }

    public String getCreatedAt() {
        return createdAt;
    }
}
