Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / jsons / UidUriJson.java
package com.example.cosmos_serversb.jsons;

import com.example.cosmos_serversb.entities.User;

public class UidUriJson {
    private String uId;
    private String uri;

    public UidUriJson(){

    }

    public UidUriJson(User user){
        setuId(user.getuId());
        setUri(user.getUri());
    }

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

    public String getuId() {
        return uId;
    }

    private void setUri(String uri){
        this.uri = uri;
    }

    public String getUri(){
        return uri;
    }

}