Skip to content

Commit

Permalink
Add TTL field
Browse files Browse the repository at this point in the history
  • Loading branch information
adamg-hmcts committed Jan 16, 2025
1 parent e750c9a commit c13dfaf
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
Expand All @@ -19,6 +20,7 @@
import uk.gov.hmcts.ccd.sdk.type.ListValue;
import uk.gov.hmcts.ccd.sdk.type.OrderSummary;
import uk.gov.hmcts.ccd.sdk.type.ScannedDocument;
import uk.gov.hmcts.ccd.sdk.type.TTL;
import uk.gov.hmcts.ccd.sdk.type.YesOrNo;
import uk.gov.hmcts.divorce.caseworker.model.CaseNote;
import uk.gov.hmcts.divorce.divorcecase.model.access.AcaSystemUserAccess;
Expand Down Expand Up @@ -295,6 +297,13 @@ public class CaseData {
)
private List<ListValue<GeneralEmailDetails>> generalEmails;

@JsonProperty("TTL")
@CCD(
label = "Set up TTL",
typeOverride = FieldType.TTL
)
private TTL retainAndDisposeTimeToLive;

@CCD(
label = "Confidential general emails",
typeOverride = Collection,
Expand Down

0 comments on commit c13dfaf

Please sign in to comment.