public class Order {
    String id;
    String name;
    String date;
}

public class Order {
    String id;
    String name;
    String date;

    Order(String id, String name, String date) {
        this.id = id;
        this.name = name;
        this.date = date;
    }
}

Add a simple constructor to the Order model