-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added validate method to call the various validation checks
- Loading branch information
1 parent
12c28f5
commit 5eb259a
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
crime-evidence/src/main/java/uk/gov/justice/laa/crime/evidence/dto/EvidenceDTO.java
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package uk.gov.justice.laa.crime.evidence.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Data | ||
@Builder | ||
public class EvidenceDTO { | ||
/** | ||
* This is a basic DTO with the required fields for validation. When we migrate the remaining logic | ||
* we can update this DTO with any additional fields we need | ||
*/ | ||
private LocalDateTime incomeEvidenceReceivedDate; | ||
private LocalDateTime applicationReceivedDate; | ||
private String incomeExtraEvidence; | ||
private String incomeExtraEvidenceText; | ||
private LocalDateTime evidenceDueDate; | ||
private LocalDateTime firstReminderDate; | ||
private LocalDateTime secondReminderDate; | ||
private LocalDateTime existingEvidenceDueDate; | ||
} |
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