forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfoSingle.java
More file actions
80 lines (78 loc) · 1.82 KB
/
InfoSingle.java
File metadata and controls
80 lines (78 loc) · 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
package com.yxq.model;
public class InfoSingle {
private int id;
private int infoType;
private String infoTitle;
private String infoContent;
private String infoLinkman;
private String infoPhone;
private String infoEmail;
private String infoDate;
private String infoState;
private String infoPayfor;
public int getId() {
return this.id;
}
public void setId(int id) {
this.id = id;
}
public String getInfoContent() {
return infoContent;
}
public void setInfoContent(String infoContent) {
this.infoContent = infoContent;
}
public String getInfoDate() {
return infoDate;
}
public void setInfoDate(String infoDate) {
this.infoDate = infoDate;
}
public String getInfoLinkman() {
return infoLinkman;
}
public void setInfoLinkman(String infoLinkman) {
this.infoLinkman = infoLinkman;
}
public String getInfoPayfor() {
return infoPayfor;
}
public void setInfoPayfor(String infoPayfor) {
this.infoPayfor = infoPayfor;
}
public String getInfoPhone() {
return infoPhone;
}
public void setInfoPhone(String infoPhone) {
this.infoPhone=infoPhone;
}
public String getInfoEmail() {
return infoEmail;
}
public void setInfoEmail(String infoEmail) {
this.infoEmail = infoEmail;
}
public String getInfoState() {
return infoState;
}
public void setInfoState(String infoState) {
this.infoState = infoState;
}
public String getInfoTitle() {
return infoTitle;
}
public void setInfoTitle(String infoTitle) {
this.infoTitle = infoTitle;
}
public int getInfoType() {
return infoType;
}
public void setInfoType(int infoType) {
this.infoType = infoType;
}
public String getSubInfoTitle(int len){
if(len<=0||len>this.infoTitle.length())
len=this.infoTitle.length();
return this.infoTitle.substring(0,len);
}
}