blob: a12c038d5cbcb3e30705a2cb27511835f138d93e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package at.ac.tuwien.sepm.assignment.groupphase.missioncontrol.dto;
import com.google.auto.value.AutoValue;
import java.time.Instant;
@AutoValue
public abstract class Registration {
public abstract long id();
public abstract Instant start();
public abstract Instant end();
public abstract Employee employee();
public static Builder builder() {
return new AutoValue_Registration.Builder().id(0);
}
@AutoValue.Builder
public abstract static class Builder {
public abstract Builder id(long id);
public abstract Builder start(Instant start);
public abstract Builder end(Instant end);
public abstract Builder employee(Employee employee);
public abstract Registration build();
}
public abstract Builder toBuilder();
}
|