package com.github.wxiaoqi.security.common.log.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by zhoujianwei
 * Date : 2018/6/6.
 * Time : 16:59
 */
@Data
public class XxLogEntity implements Serializable {

    private String app;
    private String method;
    private String createDate;
    private String servletPath;
    private String requestPath;
    private String requestData;
    private String responseData;
    private String endDate;
    private String mongoKey;

    public XxLogEntity() {
        super();
    }

    public XxLogEntity(String app, String servletPath, String requestData, String responseData, String createDate, String endDate, String requestPath, String mongoKey) {
        this.app = app;
        this.servletPath = servletPath;
        this.requestData = requestData;
        this.responseData = responseData;
        this.createDate = createDate;
        this.endDate = endDate;
        this.requestPath = requestPath;
        this.mongoKey = mongoKey;
    }
}
