还没发完就被老板叫过去了....回来补上代码....
PostingExample.class
public class PostingExample {
private List<PostingDetail> Postings;
public List<PostingDetail> getPostings() {
return Postings;
}
public void setPostings(List<PostingDetail> postings) {
Postings = postings;
}
}
PostingDetail .class
public class PostingDetail {
private String FocusName;
private String status;
private String sportsName;
private String ptype;
private String UserName;
private String ID;
private String postType;
private String baseTitle;
private String fixedTitle;
private String sportstypeName;
private String collection;
private String sendTime;
private String pid;
private String titleimg;
private String contents;
public String getID() {
return ID;
}
public void setID(String ID) {
this.ID = ID;
}
public String getBaseTitle() {
return baseTitle;
}
public void setBaseTitle(String baseTitle) {
this.baseTitle = baseTitle;
}
public String getFixedTitle() {
return fixedTitle;
}
public void setFixedTitle(String fixedTitle) {
this.fixedTitle = fixedTitle;
}
public String getCollection() {
return collection;
}
public void setCollection(String collection) {
this.collection = collection;
}
public String getSendTime() {
return sendTime;
}
public void setSendTime(String sendTime) {
this.sendTime = sendTime;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getPid() {
return pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getTitleimg() {
return titleimg;
}
public void setTitleimg(String titleimg) {
this.titleimg = titleimg;
}
public String getFocusName() {
return FocusName;
}
public void setFocusName(String focusName) {
FocusName = focusName;
}
public String getSportstypeName() {
return sportstypeName;
}
public void setSportstypeName(String sportstypeName) {
this.sportstypeName = sportstypeName;
}
public String getSportsName() {
return sportsName;
}
public void setSportsName(String sportsName) {
this.sportsName = sportsName;
}
public String getPtype() {
return ptype;
}
public void setPtype(String ptype) {
this.ptype = ptype;
}
public String getUserName() {
return UserName;
}