Skip to content

Commit

Permalink
MAT-7171: add createdAt to LibraryListDTO
Browse files Browse the repository at this point in the history
  • Loading branch information
chubert-sb committed May 3, 2024
1 parent 50dc3a4 commit 9e8151c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,6 +27,8 @@ public class LibraryListDTO {

private String cqlLibraryName;

private Instant createdAt;

@NotBlank(message = "Model is required")
@EnumValidator(
enumClass = ModelType.class,
Expand Down

0 comments on commit 9e8151c

Please sign in to comment.