Skip to content

Commit

Permalink
Merge pull request #233 from MeasureAuthoringTool/MAT-7060
Browse files Browse the repository at this point in the history
MAT-7060 add constructor annotations to support serialization, moved LibraryUsage dto to models
  • Loading branch information
adongare authored Aug 6, 2024
2 parents 04d91bf + 7f9d509 commit 24e3951
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>gov.cms.madie</groupId>
<artifactId>madie-java-models</artifactId>
<version>0.6.52-SNAPSHOT</version>
<version>0.6.53-SNAPSHOT</version>
<name>madie-java-models</name>
<description>Java based models for MADiE microservices</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/gov/cms/madie/models/dto/LibraryUsage.java
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 24e3951

Please sign in to comment.