Skip to content

Commit

Permalink
update model for generate function
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewErispe committed Jul 9, 2024
1 parent 1beaacf commit 7abf54e
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.jembi.jempi.shared.config.input.Source;

@JsonInclude(JsonInclude.Include.NON_NULL)
public record ConfigurationModel(
Expand All @@ -22,7 +23,7 @@ public record Field(
String fieldName,
String fieldType,
Integer csvCol,
SourceDetail source,
Source source,
@JsonProperty("default") boolean defaultValue) {
}

Expand All @@ -34,17 +35,12 @@ public record Node(
public record DemographicField(
String fieldName,
String fieldType,
SourceDetail source,
Source source,
String indexGoldenRecord,
String indexInteraction,
LinkMetaData linkMetaData) {
}

public record SourceDetail(
int csvCol,
String interactionField) {
}

public record LinkMetaData(
String comparison,
List<Double> comparisonLevels,
Expand Down

0 comments on commit 7abf54e

Please sign in to comment.