-
Notifications
You must be signed in to change notification settings - Fork 10
/
TimesheetActivity.java
30 lines (24 loc) · 901 Bytes
/
TimesheetActivity.java
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
package com.tutorialq.models;
import lombok.Data;
import org.springframework.context.annotation.Scope;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* This class maintains the Activity of time sheet for audit purposes.
*/
@Component
@Scope(value = "prototype")
@Data
public class TimesheetActivity implements Serializable {
private long timesheetActivityId;
private long timesheetId;
@DateTimeFormat(pattern = "MM/dd/yyyy HH:mm:ss")
private LocalDateTime dateLastModified;
private long nmeLastModified;
private String prevStatus; //This refers to the status of the time sheet before modification.
private String modifiedStatus; //This refers to the status of the time sheet before modification.
public TimesheetActivity() {
}
}