![](https://csdnimg.cn/release/download_crawler_static/5098165/bg7.jpg)
JAVA 软件工程师教育系列教程
7
}
}
为了体现 MVC 模式,我们在这里面引入了一个存储数据的 Bean。EntityBean.java
package bean;
public class EntityBean {
private String sjhm; private String hjlx; private String dfhm;
private String qssj; private String thsc; private String thdd;
private String ctlx; private String jbhf; private String chf;
private String zhf; private String zjls;
public EntityBean(String sjhm,String hjlx,String dfhm,String qssj,
String thsc,String thdd,String ctlx,String jbhf,
String chf,String zhf){
this.sjhm=sjhm; this.hjlx=hjlx; this.dfhm=dfhm;
this.qssj=qssj; this.thsc=thsc; this.thdd=thdd;
this.ctlx=ctlx; this.jbhf=jbhf; this.chf=chf;
this.zhf=zhf; }
public String getChf() {
return chf;
}
public void setChf(String chf) {
this.chf = chf;
}
public String getCtlx() {
return ctlx;
}
public void setCtlx(String ctlx) {
this.ctlx = ctlx;
}
public String getDfhm() {
return dfhm;
}
public void setDfhm(String dfhm) {
this.dfhm = dfhm;
}
public String getHjlx() {
return hjlx;
}
public void setHjlx(String hjlx) {
this.hjlx = hjlx;
}
public String getJbhf() {
return jbhf;