4a1ae14b3a487f50b6b0be87f3f2ee995dba473e.svn-base 2.29 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.qjxt;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 权籍系统接口日志信息管理Entity
 * @author xuyg
 * @version 2018-11-12
 */
public class Interfacelog extends DataEntity<Interfacelog> {
	
	private static final long serialVersionUID = 1L;
	private String url;		// 请求地址
	private String requser;		// 请求方
	private String resuser;		// 响应方
	private Date createdate;		// 创建时间
	private String reqparameter;		// 请求参数
	private String resparameter;		// 响应参数
	private String stackTrace;
	
	
	public String getStackTrace() {
		return stackTrace;
	}

	public void setStackTrace(String stackTrace) {
		this.stackTrace = stackTrace;
	}

	public Interfacelog() {
		super();
	}

	public Interfacelog(String id){
		super(id);
	}

	@Length(min=0, max=200, message="请求地址长度必须介于 0 和 200 之间")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	@Length(min=0, max=100, message="请求方长度必须介于 0 和 100 之间")
	public String getRequser() {
		return requser;
	}

	public void setRequser(String requser) {
		this.requser = requser;
	}
	
	@Length(min=0, max=100, message="响应方长度必须介于 0 和 100 之间")
	public String getResuser() {
		return resuser;
	}

	public void setResuser(String resuser) {
		this.resuser = resuser;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
	
	@Length(min=0, max=4000, message="请求参数长度必须介于 0 和 4000 之间")
	public String getReqparameter() {
		return reqparameter;
	}

	public void setReqparameter(String reqparameter) {
		this.reqparameter = reqparameter;
	}
	
	@Length(min=0, max=4000, message="响应参数长度必须介于 0 和 4000 之间")
	public String getResparameter() {
		return resparameter;
	}

	public void setResparameter(String resparameter) {
		this.resparameter = resparameter;
	}
	
}