Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / jsons / RidUriJson.java
n-kande on 11 Jul 2019 621 bytes groups POSTの修正
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){
        setuId(request.getrId());
        setUri(request.getUri());
    }

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

    public String getuId() {
        return rId;
    }

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

    public String getUri(){
        return uri;
    }

}