H4CK3R-01 c817ad6694 - Added .gitignore
- Moved files
- Renamed packages
2021-06-07 13:59:23 +02:00

64 lines
1.2 KiB
Java

package de.dhbw.contactdb;
import java.time.LocalDateTime;
public class Besuch {
private LocalDateTime start;
private LocalDateTime end;
private Person person;
private Ort ort;
public Besuch(String s) {
}
public Besuch(LocalDateTime start, LocalDateTime end, Person person, Ort ort) {
this.start = start;
this.end = end;
this.person = person;
this.ort = ort;
}
public LocalDateTime getStart() {
return start;
}
public void setStart(LocalDateTime start) {
this.start = start;
}
public LocalDateTime getEnd() {
return end;
}
public void setEnd(LocalDateTime end) {
this.end = end;
}
public Person getPerson() {
return person;
}
public void setPerson(Person person) {
this.person = person;
}
public Ort getOrt() {
return ort;
}
public void setOrt(Ort ort) {
this.ort = ort;
}
@Override
public String toString() {
return "Besuch{" +
"start=" + start +
", end=" + end +
", person=" + person +
", ort=" + ort +
'}';
}
}