1. DB 연결 관련 Dao, Vo 자바 파일 생성
2. Fcontroller에 해당 내용 추가 및 임포트 3. 출력 테스트를 위한 View 파일 추가
This commit is contained in:
75
hospital/src/main/java/DB/MemberVo.java
Normal file
75
hospital/src/main/java/DB/MemberVo.java
Normal file
@@ -0,0 +1,75 @@
|
||||
package DB;
|
||||
|
||||
public class MemberVo {
|
||||
public String id;
|
||||
public String name;
|
||||
public String pw;
|
||||
public String addr;
|
||||
public String tel;
|
||||
public String gender;
|
||||
public String hobby;
|
||||
|
||||
public MemberVo() {
|
||||
}
|
||||
|
||||
public MemberVo(String id, String pw) {
|
||||
this.id = id;
|
||||
this.pw = pw;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAddr() {
|
||||
return this.addr;
|
||||
}
|
||||
|
||||
public void setAddr(String addr) {
|
||||
this.addr = addr;
|
||||
}
|
||||
|
||||
public String getTel() {
|
||||
return this.tel;
|
||||
}
|
||||
|
||||
public void setTel(String tel) {
|
||||
this.tel = tel;
|
||||
}
|
||||
|
||||
public String getGender() {
|
||||
return this.gender;
|
||||
}
|
||||
|
||||
public void setGender(String gender) {
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getHobby() {
|
||||
return this.hobby;
|
||||
}
|
||||
|
||||
public void setHobby(String hobby) {
|
||||
this.hobby = hobby;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPw() {
|
||||
return this.pw;
|
||||
}
|
||||
|
||||
public void setPw(String pw) {
|
||||
this.pw = pw;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user