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

import java.util.Date;

public class Request {

    private String rId;
    private String uri;
    private Date date;
    private String IssuerUid;
    private String product;
    private Date deadline;
//    private String location;
    private int location;
    private String name; //消
    private boolean done = false;

    public Request(String product, Date deadline, int location, String name) {
        this.product = product;
        this.deadline = deadline;
        this.location = location;
        this.name = name;
    }

    public String getrId() {
        return rId;
    }

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

    public String getProduct() {
        return product;
    }

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

    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 String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}