diff --git a/pom.xml b/pom.xml index 0cb3d3f..f043c15 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ gov.cms.madie madie-java-models - 0.6.52-SNAPSHOT + 0.6.53-SNAPSHOT madie-java-models Java based models for MADiE microservices diff --git a/src/main/java/gov/cms/madie/models/common/IncludedLibrary.java b/src/main/java/gov/cms/madie/models/common/IncludedLibrary.java index 30703b4..4bbd393 100644 --- a/src/main/java/gov/cms/madie/models/common/IncludedLibrary.java +++ b/src/main/java/gov/cms/madie/models/common/IncludedLibrary.java @@ -1,10 +1,14 @@ package gov.cms.madie.models.common; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; +import lombok.NoArgsConstructor; @Data @Builder +@NoArgsConstructor +@AllArgsConstructor public class IncludedLibrary { private String name; private String version; diff --git a/src/main/java/gov/cms/madie/models/dto/LibraryUsage.java b/src/main/java/gov/cms/madie/models/dto/LibraryUsage.java new file mode 100644 index 0000000..c40ab66 --- /dev/null +++ b/src/main/java/gov/cms/madie/models/dto/LibraryUsage.java @@ -0,0 +1,18 @@ +package gov.cms.madie.models.dto; + +import gov.cms.madie.models.common.Version; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class LibraryUsage { + private String name; + // TODO: getting version in string would be beneficial + private Version version; + private String owner; +}