D80ReplyTemp.java
1.67 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
package com.bsth.entity.realcontrol;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
*
* @ClassName: D80ReplyTemp
* @Description: TODO(80处理后自动回复模板)
* @author PanZhao
* @date 2016年8月22日 下午11:30:10
*
*/
@Entity
@Table(name = "bsth_v_d80_reply_temp")
public class D80ReplyTemp {
public D80ReplyTemp(LineConfig conf, short requestCode, String agreeText, String rejectText){
this.conf = conf;
this.requestCode = requestCode;
this.agreeText = agreeText;
this.rejectText = rejectText;
}
public D80ReplyTemp(){}
@Id
@GeneratedValue
private Integer id;
@JsonIgnore
@ManyToOne
private LineConfig conf;
private Short requestCode;
/** 同意时下发文本 */
private String agreeText;
/** 拒绝时下发文本 */
private String rejectText;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public LineConfig getConf() {
return conf;
}
public void setConf(LineConfig conf) {
this.conf = conf;
}
public Short getRequestCode() {
return requestCode;
}
public void setRequestCode(Short requestCode) {
this.requestCode = requestCode;
}
public String getAgreeText() {
return agreeText;
}
public void setAgreeText(String agreeText) {
this.agreeText = agreeText;
}
public String getRejectText() {
return rejectText;
}
public void setRejectText(String rejectText) {
this.rejectText = rejectText;
}
}