Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / entities / Token.java
t-kisimoto on 25 Jul 2019 591 bytes バグ修正
package com.example.cosmos_serversb.entities;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
public class Token {
    public String token;
    @JsonIgnore
    private String uId;
    public Token(){

    }

    public Token(String token,String uId){
        setToken(token);
        setuId(uId);
    }

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

    public String getToken() {
        return token;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getuId() {
        return uId;
    }

}