Formatting

This commit is contained in:
Marcel Schwarz 2020-04-30 20:42:22 +02:00
parent 56a3ddad27
commit 23a72fa238
3 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,8 @@
package de.hft.geotime.record;
public enum RecordType {
BREAK,
PAID
}

View File

@ -16,6 +16,7 @@ import java.util.Date;
@AllArgsConstructor
@Entity
public class TimeRecord {
@Id
private long id;
@OneToOne
@ -24,4 +25,5 @@ public class TimeRecord {
private Date enddate;
private Duration time;
private RecordType type;
}

View File

@ -12,6 +12,7 @@ import javax.persistence.*;
@AllArgsConstructor
@Entity
public class TimetrackAccount {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@ -20,4 +21,5 @@ public class TimetrackAccount {
private double revenue;
private String name;
private String description;
}