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; } }