Bean层
package Bean; public class Diqu { private String time; private String diqu; private String ill; private String newill; private String cure; private String dead; public String getTime() { return time; } public void setTime(String time) { this.time = time; } public String getDiqu() { return diqu; } public void setDiqu(String diqu) { this.diqu = diqu; } public String getIll() { return ill; } public void setIll(String ill) { this.ill = ill; } public String getNewill() { return newill; } public void setNewill(String newill) { this.newill = newill; } public String getCure() { return cure; } public void setCure(String cure) { this.cure = cure; } public String getDead() { return dead; } public void setDead(String dead) { this.dead = dead; } public Diqu(String time, String diqu, String ill, String newill, String cure, String dead) { super(); this.time = time; this.diqu = diqu; this.ill = ill; this.newill = newill; this.cure = cure; this.dead = dead; } @Override public String toString() { return "Diqu [time=" + time + ", diqu=" + diqu + ", ill=" + ill + ", newill=" + newill + ", cure=" + cure + ", dead=" + dead + "]"; } }
package Bean; public class Sheng { private String time; private String diqu; private String person; public String getTime() { return time; } public void setTime(String time) { this.time = time; } public String getDiqu() { return diqu; } public void setDiqu(String diqu) { this.diqu = diqu; } public String getPerson() { return person; } public void setPerson(String person) { this.person = person; } @Override public String toString() { return "Diqu [time=" + time + ", diqu=" + diqu + ", person=" + person+" ]"; } public Sheng(String time, String diqu, String person) { super(); this.time = time; this.diqu = diqu; this.person = person; } }