Formatting
This commit is contained in:
parent
56a3ddad27
commit
23a72fa238
@ -1,6 +1,8 @@
|
|||||||
package de.hft.geotime.record;
|
package de.hft.geotime.record;
|
||||||
|
|
||||||
public enum RecordType {
|
public enum RecordType {
|
||||||
|
|
||||||
BREAK,
|
BREAK,
|
||||||
PAID
|
PAID
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ import java.util.Date;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Entity
|
@Entity
|
||||||
public class TimeRecord {
|
public class TimeRecord {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
private long id;
|
private long id;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@ -24,4 +25,5 @@ public class TimeRecord {
|
|||||||
private Date enddate;
|
private Date enddate;
|
||||||
private Duration time;
|
private Duration time;
|
||||||
private RecordType type;
|
private RecordType type;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@ import javax.persistence.*;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Entity
|
@Entity
|
||||||
public class TimetrackAccount {
|
public class TimetrackAccount {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||||
private long id;
|
private long id;
|
||||||
@ -20,4 +21,5 @@ public class TimetrackAccount {
|
|||||||
private double revenue;
|
private double revenue;
|
||||||
private String name;
|
private String name;
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user