Formatting
This commit is contained in:
parent
56a3ddad27
commit
23a72fa238
@ -1,6 +1,8 @@
|
||||
package de.hft.geotime.record;
|
||||
|
||||
public enum RecordType {
|
||||
|
||||
BREAK,
|
||||
PAID
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user