4a1ae14b3a487f50b6b0be87f3f2ee995dba473e.svn-base
2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
* Copyright © 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;
}
}