WxFeedback.java
1.68 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
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.wechat.entity;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 反馈意见Entity
* @author lzj
* @version 2020-03-19
*/
public class WxFeedback extends DataEntity<WxFeedback> {
private static final long serialVersionUID = 1L;
private String userid; //微信用户id
private String fdid; // 反馈id
private String kes; // 科室
private String question; // 问题
private String answer; // 回答
private String isopen; //是否公开
public WxFeedback() {
super();
}
public String getUserid() {
return userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
public WxFeedback(String id){
super(id);
}
@Length(min=0, max=64, message="反馈id长度必须介于 0 和 64 之间")
public String getFdid() {
return fdid;
}
public void setFdid(String fdid) {
this.fdid = fdid;
}
@Length(min=0, max=200, message="科室长度必须介于 0 和 200 之间")
public String getKes() {
return kes;
}
public void setKes(String kes) {
this.kes = kes;
}
@Length(min=0, max=2000, message="问题长度必须介于 0 和 2000 之间")
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public String getIsopen() {
return isopen;
}
public void setIsopen(String isopen) {
this.isopen = isopen;
}
}