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

import net.arnx.jsonic.JSONHint;

public class Member {
    public int memberId;
    public boolean ready = false;
    public int userId;
    public int role;
    public String userName;

    //準備完了か否かを取得
    @JSONHint(ignore = true)
    public boolean isReady() {
        return ready;
    }

    //ユーザIDを取得
    @JSONHint(ignore = true)
    public int getUesrId() {
        return userId;
    }

    //ユーザ名を取得
    @JSONHint(ignore = true)
    public String getUserName() {
        return userName;
    }

    //メンバーID(入った順番)を取得
    @JSONHint(ignore = true)
    public int getMemberId() {
        return memberId;
    }

    //メンバーID(入った順番)を取得
    @JSONHint(ignore = true)
    public int getRole() {
        return role;
    }
}