Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / entities / Token.java
t-kisimoto on 25 Jul 2019 570 bytes lombokの廃止
package com.example.cosmos_serversb.entities;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class Token {
    public String token;
    @JsonIgnore
    private String uId;
    public Token(){

    }

    public Token(String token,String uId){
        setToken(token);
        setuId(uId);
    }
    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getuId() {
        return uId;
    }
    public void setToken(String token) {
        this.token = token;
    }

    public String getToken() {
        return token;
    }

}