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

import com.example.cosmos_serversb.entities.Request;
import com.example.cosmos_serversb.entities.User;

public class RidUriJson {
    private String rId;
    private String uri;

    public RidUriJson(){

    }

    public RidUriJson(Request request){
        setrId(request.getrId());
        setUri(request.getUri());
    }

    private void setrId(String rId) {
        this.rId = rId;
    }

    public String getrId() {
        return rId;
    }

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

    public String getUri(){
        return uri;
    }

}