Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / entities / Token.java
package com.example.cosmos_serversb.entities;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@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 setuId(String uId) {
        this.uId = uId;
    }

    public String getuId() {
        return uId;
    }



}