From 9eea2ecf2c3d58605cec9ef6b755c237f37b81b5 Mon Sep 17 00:00:00 2001 From: Christopher Hubert Date: Fri, 20 Sep 2024 14:55:26 -0400 Subject: [PATCH 1/2] MAT-7603: add case number and sequence --- pom.xml | 2 +- .../gov/cms/madie/models/measure/TestCase.java | 1 + .../madie/models/measure/TestCaseSequence.java | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/main/java/gov/cms/madie/models/measure/TestCaseSequence.java diff --git a/pom.xml b/pom.xml index 2a21670..ee618a8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ gov.cms.madie madie-java-models - 0.6.63-SNAPSHOT + 0.6.64-SNAPSHOT madie-java-models Java based models for MADiE microservices diff --git a/src/main/java/gov/cms/madie/models/measure/TestCase.java b/src/main/java/gov/cms/madie/models/measure/TestCase.java index 14dbf9a..3246ed1 100644 --- a/src/main/java/gov/cms/madie/models/measure/TestCase.java +++ b/src/main/java/gov/cms/madie/models/measure/TestCase.java @@ -23,6 +23,7 @@ @AllArgsConstructor public class TestCase { private String id; + private Integer caseNumber; private String name; @NotBlank( diff --git a/src/main/java/gov/cms/madie/models/measure/TestCaseSequence.java b/src/main/java/gov/cms/madie/models/measure/TestCaseSequence.java new file mode 100644 index 0000000..8030e18 --- /dev/null +++ b/src/main/java/gov/cms/madie/models/measure/TestCaseSequence.java @@ -0,0 +1,18 @@ +package gov.cms.madie.models.measure; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; + +@Data +@Builder(toBuilder = true) +@NoArgsConstructor +@AllArgsConstructor +@Document +public class TestCaseSequence { + @Id private String id; + private int sequence; +} From 3587c6e9cfc0bdbfaf623b70960c4a382717e4d2 Mon Sep 17 00:00:00 2001 From: Christopher Hubert Date: Tue, 24 Sep 2024 10:32:37 -0400 Subject: [PATCH 2/2] MAT-7603: update pom --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ee618a8..52c7e93 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ gov.cms.madie madie-java-models - 0.6.64-SNAPSHOT + 0.6.65-SNAPSHOT madie-java-models Java based models for MADiE microservices