package ciai.model; public class Evaluation { private int id; private String name; private int value; private double weight; private char type; // 0 -> teste, 1 -> exame, 3 -> project, -> 2 ->labs private String date; private String time; public Evaluation(int id, String name, char type, int value, double weight, String date, String time) { this.setId(id); this.setName(name); this.setValue(value); this.setWeight(weight); this.setType(type); this.setData(date); this.setTime(time); } public int getId() { return this.id; } public void setId(int i) { this.id = i; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getValue() { return value; } public void setValue(int value) { this.value = value; } public double getWeight() { return weight; } public void setWeight(double w) { this.weight = w; } public void setTime(String time) { this.time = time; } public void setData(String date) { this.date = date; } public char getType() { return this.type; } public String getDate() { return this.date; } public String getTime() { return this.time; } public void setType(char t) { this.type = t; } }