From 9e8151c913909cb7c4dad4c98a040f24bf5c06af Mon Sep 17 00:00:00 2001 From: Christopher Hubert Date: Fri, 3 May 2024 14:01:26 -0400 Subject: [PATCH] MAT-7171: add createdAt to LibraryListDTO --- .../gov/cms/madie/cqllibraryservice/dto/LibraryListDTO.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/gov/cms/madie/cqllibraryservice/dto/LibraryListDTO.java b/src/main/java/gov/cms/madie/cqllibraryservice/dto/LibraryListDTO.java index d0d4d4e..3b319dc 100644 --- a/src/main/java/gov/cms/madie/cqllibraryservice/dto/LibraryListDTO.java +++ b/src/main/java/gov/cms/madie/cqllibraryservice/dto/LibraryListDTO.java @@ -14,6 +14,7 @@ import lombok.experimental.SuperBuilder; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.DocumentReference; +import java.time.Instant; @Data @Document @@ -26,6 +27,8 @@ public class LibraryListDTO { private String cqlLibraryName; + private Instant createdAt; + @NotBlank(message = "Model is required") @EnumValidator( enumClass = ModelType.class,