Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / entities / Request.java
package com.example.cosmosclient.entities;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

public class Request {

    private String rId;
    private String uri;
//    private String IssuerUid;
    private UserJsonforRequests issuer;
    private String product;
    private Date date;
    private Date deadline;
//    private String location;
    private int location;
    private boolean done;

    public Request() {
    }

    public Request(String rId, String uri/*, UserJsonforRequests issuer*/, String product, Date date, Date deadline, int location, String name, boolean done) {
        this.rId = rId;
        this.uri = uri;
//        this.issuer = issuer;
        this.product = product;
        this.date = date;
        this.deadline = deadline;
        this.location = location;
        this.done = done;
    }

    public String getrId() {
        return rId;
    }

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

    public String getUri() {
        return uri;
    }

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

    public UserJsonforRequests getIssuer() {
        return issuer;
    }

    public void setIssuer(UserJsonforRequests issuer) {
        this.issuer = issuer;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public int getLocation() {
        return location;
    }

    public void setLocation(int location) {
        this.location = location;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }
}