a029219c596ebece8779f9cd3e8de95ae39e552c.svn-base
1.82 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
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.ycsl.entity.token;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 一窗受理token获取、调度Entity
* @author lw
* @version 2020-07-17
*/
public class YcslToken extends DataEntity<YcslToken> {
private static final long serialVersionUID = 1L;
private String token; // token
private String userid; // userid
private Integer syrq; // syrq
private Date sdate; // sdate
private Date edate; // edate
private String isuser; // 1 使用 0 失效
public YcslToken() {
super();
}
public YcslToken(String id){
super(id);
}
@Length(min=0, max=200, message="token长度必须介于 0 和 200 之间")
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
@Length(min=0, max=100, message="userid长度必须介于 0 和 100 之间")
public String getUserid() {
return userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
public Integer getSyrq() {
return syrq;
}
public void setSyrq(Integer syrq) {
this.syrq = syrq;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
public Date getSdate() {
return sdate;
}
public void setSdate(Date sdate) {
this.sdate = sdate;
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
public Date getEdate() {
return edate;
}
public void setEdate(Date edate) {
this.edate = edate;
}
@Length(min=0, max=1, message="1 使用 0 失效长度必须介于 0 和 1 之间")
public String getIsuser() {
return isuser;
}
public void setIsuser(String isuser) {
this.isuser = isuser;
}
}