package com.doctor.esper.event;

import java.io.Serializable;
import java.time.LocalDateTime;

public class HttpLog implements Serializable {

	private static final long serialVersionUID = -4462410669092068376L;

	private Long id;

	private String machineId;

	private String requestPath;

	private String referer;

	// private String ip;

	private String userAgent;

	private LocalDateTime time;

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMachineId() {
		return machineId;
	}

	public void setMachineId(String machineId) {
		this.machineId = machineId;
	}

	public String getRequestPath() {
		return requestPath;
	}

	public void setRequestPath(String requestPath) {
		this.requestPath = requestPath;
	}

	public String getReferer() {
		return referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public LocalDateTime getTime() {
		return time;
	}

	public void setTime(LocalDateTime time) {
		this.time = time;
	}

}

@@ -426,70 +426,279 @@
 lic 
-static long getSerialversionuid() %7B%0D%0A%09%09return serialVersionUID
+HttpLog(Long id, String machineId, String requestPath, String referer, String userAgent, LocalDateTime time) %7B%0D%0A%09%09this.id = id;%0D%0A%09%09this.machineId = machineId;%0D%0A%09%09this.requestPath = requestPath;%0D%0A%09%09this.referer = referer;%0D%0A%09%09this.userAgent = userAgent;%0D%0A%09%09this.time = time
 ;%0D%0A%09

add constructor