negno
개발Log
negno
전체 방문자
오늘
어제
  • 분류 전체보기
    • Project
      • Mini_Project
      • PTSD_Project
    • Algorithm
      • Elice
      • JavaFestival
    • BACK-END
      • C Programming
      • JAVA
      • JSP Servlet
      • Python
      • Spring
      • Machine Learning
    • FRONT-END
      • HTML CSS
      • JavaScript
    • Application
      • Android
    • DataBase
      • Oracle
      • MySql
    • IoT
      • Arduino
      • Raspberry pi

티스토리

hELLO · Designed By 정상우.
negno

개발Log

VO
Project/Mini_Project

VO

2022. 7. 7. 12:54
public class Game {
	
	
	private int user_num;
	private String user_id;
	private String user_pw;
	private String user_name;
	private long user_money;
	private int rownum;
	
	public Game(int user_num, String user_id, String user_pw, String user_name, long user_money) {
		this.user_num = user_num;
		this.user_id = user_id;
		this.user_pw = user_pw;
		this.user_name = user_name;
		this.user_money = user_money;
	}
	
	public Game(String user_id, String user_pw, String user_name) {
		//회원가입
		this.user_id = user_id;
		this.user_pw = user_pw;
		this.user_name = user_name;
	}

	public Game(long user_money) {
		//배팅
		this.user_money = user_money;
	}

	public Game(String user_id, String user_pw) {
		//로그인
		this.user_id = user_id;
		this.user_pw = user_pw;
	}

	

	public Game(int rownum,String user_name, long money) {
		this.rownum = rownum;
		this.user_name = user_name;
		this.user_money = money;
	}

	public int getrowNum() {
		return rownum;
	}
	public int getUser_num() {
		return user_num;
	}

	public String getUser_id() {
		return user_id;
	}

	public String getUser_pw() {
		return user_pw;
	}

	public String getUser_name() {
		return user_name;
	}

	public long getUser_money() {
		return user_money;
	}
	public void setUser_money(long user_money) {
		this.user_money = user_money;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public void setUser_pw(String user_pw) {
		this.user_pw = user_pw;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
}

'Project > Mini_Project' 카테고리의 다른 글

Game Menu  (0) 2022.07.07
Main Menu  (0) 2022.07.07
DAO  (0) 2022.07.07
테이블 명세서  (0) 2022.07.07
요구사항정의서  (0) 2022.07.07
    negno
    negno

    티스토리툴바