Newer
Older
RxSprout / app / src / main / java / com / example / sprout / accounts / Account.java
KeijuMatsumoto on 28 Nov 2017 902 bytes [add] Project
package com.example.sprout.accounts;


public class Account {

    private String userName;               //ユーザーネーム
    private String mode = null;            //モード選択
    private int userID;                    //ユーザID

    public Account(int userID, String userName) {
        this.userID = userID;
        this.userName = userName;
    }

    public Account() {

    }

    public static Account getInstance() {
        return getInstance();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public int getUserID() {
        return userID;
    }


    public void setUserID(int userID) {
        this.userID = userID;
    }
}