2023. 12. 27. 17:30ㆍ2023.11.21-2024.05.31
package com.sukgi.db;
//데이터 전송 객체
public class EmployeesDTO {
//값을 담을 변수
private String dept_no, dept_name;//
private int emp_no;
private String birth_date,first_name, last_name,Hire_date;
private String gender;
//getter / setter method-> source에서 생성
public String getDept_no() {
return dept_no;
}
public void setDept_no(String dept_no) {
this.dept_no = dept_no;
}
public String getDept_name() {
return dept_name;
}
public void setDept_name(String dept_name) {
this.dept_name = dept_name;
}
public int getEmp_no() {
return emp_no;
}
public void setEmp_no(int emp_no) {
this.emp_no = emp_no;
}
public String getBirth_date() {
return birth_date;
}
public void setBirth_date(String birth_date) {
this.birth_date = birth_date;
}
public String getFirst_name() {
return first_name;
}
public void setFirst_name(String first_name) {
this.first_name = first_name;
}
public String getLast_name() {
return last_name;
}
public void setLast_name(String last_name) {
this.last_name = last_name;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getHire_date() {
return Hire_date;
}
public void setHire_date(String hire_date) {
Hire_date = hire_date;
}
}
package com.sukgi.db;
//데이터 전송 객체
public class EmployeesDTO {
//값을 담을 변수
private String dept_no, dept_name;//
private int emp_no;
private String birth_date,first_name, last_name,Hire_date;
private String gender;
//getter / setter method-> source에서 생성
public String getDept_no() {
return dept_no;
}
public void setDept_no(String dept_no) {
this.dept_no = dept_no;
}
public String getDept_name() {
return dept_name;
}
public void setDept_name(String dept_name) {
this.dept_name = dept_name;
}
public int getEmp_no() {
return emp_no;
}
public void setEmp_no(int emp_no) {
this.emp_no = emp_no;
}
public String getBirth_date() {
return birth_date;
}
public void setBirth_date(String birth_date) {
this.birth_date = birth_date;
}
public String getFirst_name() {
return first_name;
}
public void setFirst_name(String first_name) {
this.first_name = first_name;
}
public String getLast_name() {
return last_name;
}
public void setLast_name(String last_name) {
this.last_name = last_name;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getHire_date() {
return Hire_date;
}
public void setHire_date(String hire_date) {
Hire_date = hire_date;
}
}
'2023.11.21-2024.05.31' 카테고리의 다른 글
231227 JAVA EmployeesDTO (1) | 2023.12.27 |
---|---|
231227 JAVA DBConnection (0) | 2023.12.27 |
231226 JAVA Test (0) | 2023.12.27 |
231226 JAVA EmployeesDAO (1) | 2023.12.26 |
231226 JAVA DBConnection (0) | 2023.12.26 |