46) 멤버 DTO memberDTO

hahahoho셍·2021년 5월 1일
0

자바 공부

목록 보기
49/97
package ex07_jdbc.member;

import java.util.Date;

public class memberDTO {
	private String userid;
	private String passwd;
	private int birthyear;
	private Date regdate;
	
	
	public memberDTO(String userid, String passwd, int birthyear) {
		super();
		this.userid = userid;
		this.passwd = passwd;
		this.birthyear = birthyear;
	}

	public memberDTO() {
		super();
	}
	
	public memberDTO(String userid, String passwd, int birthyear, Date regdate) {
		super();
		this.userid = userid;
		this.passwd = passwd;
		this.birthyear = birthyear;
		this.regdate = regdate;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public int getBirthyear() {
		return birthyear;
	}
	public void setBirthyear(int birthyear) {
		this.birthyear = birthyear;
	}
	public Date getRegdate() {
		return regdate;
	}
	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}
	@Override
	public String toString() {
		return "memberDTO [userid=" + userid + ", passwd=" + passwd + ", birthyear=" + birthyear + ", regdate="
				+ regdate + "]";
	}
	
	
	
	
}
profile
그냥 공부 한거 적는 벨로그 하하하핳ㅎ하하하핳하ㅏ

0개의 댓글

관련 채용 정보