ZhjSendpatch.java
1.65 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
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.zhj.entity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 智慧局数据推送数据推送Entity
* @author lw
* @version 2020-06-16
*/
public class ZhjSendpatch extends DataEntity<ZhjSendpatch> {
private static final long serialVersionUID = 1L;
private String datacontent; // datacontent
private Date sdate; // sdate
private Date edate; // edate
private String sendzt; // sendzt
private String sendmsg; // sendmsg
public ZhjSendpatch() {
super();
}
public ZhjSendpatch(String id){
super(id);
}
public String getDatacontent() {
return datacontent;
}
public void setDatacontent(String datacontent) {
this.datacontent = datacontent;
}
@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=10, message="sendzt长度必须介于 0 和 10 之间")
public String getSendzt() {
return sendzt;
}
public void setSendzt(String sendzt) {
this.sendzt = sendzt;
}
@Length(min=0, max=4000, message="sendmsg长度必须介于 0 和 4000 之间")
public String getSendmsg() {
return sendmsg;
}
public void setSendmsg(String sendmsg) {
this.sendmsg = sendmsg;
}
}