69 lines
1.2 KiB
Java
69 lines
1.2 KiB
Java
|
package res;
|
||
|
|
||
|
public class Event {
|
||
|
|
||
|
private int id;
|
||
|
private String name;
|
||
|
private int priority;
|
||
|
private boolean isFullDay;
|
||
|
private String start;
|
||
|
private String end;
|
||
|
|
||
|
public int getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public void setId(int id) {
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public void setName(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
public int getPriority() {
|
||
|
return priority;
|
||
|
}
|
||
|
|
||
|
public void setPriority(int priority) {
|
||
|
this.priority = priority;
|
||
|
}
|
||
|
|
||
|
public boolean isFullDay() {
|
||
|
return isFullDay;
|
||
|
}
|
||
|
|
||
|
public void setFullDay(boolean fullDay) {
|
||
|
isFullDay = fullDay;
|
||
|
}
|
||
|
|
||
|
public String getStart() {
|
||
|
return start;
|
||
|
}
|
||
|
|
||
|
public void setStart(String start) {
|
||
|
this.start = start;
|
||
|
}
|
||
|
|
||
|
public String getEnd() {
|
||
|
return end;
|
||
|
}
|
||
|
|
||
|
public void setEnd(String end) {
|
||
|
this.end = end;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return name +
|
||
|
"\nVon: " + start +
|
||
|
"\nBis: " + start +
|
||
|
"\nisFullDay = " + isFullDay;
|
||
|
|
||
|
}
|
||
|
}
|