-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add last modified by and date fields
- Loading branch information
Showing
10 changed files
with
73 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,24 +28,28 @@ | |
* @author David Bauer [dbauer1 (at) udayton (dot) edu] | ||
* @author Steve Swinsburg ([email protected]) | ||
*/ | ||
@Setter | ||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode(exclude={"records","stats"}) | ||
public class AttendanceEvent implements Serializable { | ||
private static final long serialVersionUID = 1L; | ||
|
||
@Getter @Setter private Long id; | ||
@Getter @Setter private String name; | ||
@Getter @Setter private Date startDateTime; | ||
@Getter @Setter private Date endDateTime; | ||
@Getter @Setter private Boolean isReoccurring; | ||
@Getter @Setter private Long reoccurringID; | ||
@Getter @Setter private Boolean isRequired; | ||
@Getter @Setter private String releasedTo; | ||
@Getter @Setter private AttendanceSite attendanceSite; | ||
@Getter @Setter private String location; | ||
@Getter @Setter private Set<AttendanceRecord> records = new HashSet<AttendanceRecord>(0); | ||
@Getter @Setter private AttendanceItemStats stats; | ||
private Long id; | ||
private String name; | ||
private Date startDateTime; | ||
private Date endDateTime; | ||
private Boolean isReoccurring; | ||
private Long reoccurringID; | ||
private Boolean isRequired; | ||
private String releasedTo; | ||
private AttendanceSite attendanceSite; | ||
private String location; | ||
private Set<AttendanceRecord> records = new HashSet<AttendanceRecord>(0); | ||
private AttendanceItemStats stats; | ||
private String lastModifiedBy; | ||
private Date lastModifiedDate; | ||
|
||
// Copy constructor | ||
public AttendanceEvent(AttendanceEvent attendanceEvent){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
import lombok.*; | ||
|
||
import java.io.Serializable; | ||
import java.util.Date; | ||
import java.util.Objects; | ||
|
||
/** | ||
|
@@ -28,17 +29,21 @@ | |
* @author David Bauer [dbauer1 (at) udayton (dot) edu] | ||
* @author Steve Swinsburg ([email protected]) | ||
*/ | ||
@Setter | ||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode | ||
public class AttendanceRecord implements Serializable { | ||
private static final long serialVersionUID = 1L; | ||
|
||
@Getter @Setter private Long id; | ||
@Getter @Setter private AttendanceEvent attendanceEvent; | ||
@Getter @Setter private String userID; | ||
@Getter @Setter private Status status; | ||
@Getter @Setter private String comment; | ||
private Long id; | ||
private AttendanceEvent attendanceEvent; | ||
private String userID; | ||
private Status status; | ||
private String comment; | ||
private String lastModifiedBy; | ||
private Date lastModifiedDate; | ||
|
||
public AttendanceRecord(AttendanceEvent e, String uId, Status s) { | ||
this.attendanceEvent = e; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters