update models

This commit is contained in:
Efstratios Giannopoulos 2024-05-03 11:35:17 +03:00
parent 89af3e4329
commit 3ae2aa00d9
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ package org.opencdmp.commonmodels.models.descriptiotemplate;
import java.time.Instant; import java.time.Instant;
public class DefaultValueEntity { public class DefaultValueModel {
private String textValue; private String textValue;

View File

@ -13,7 +13,7 @@ public class FieldModel {
private List<String> schematics; private List<String> schematics;
private DefaultValueEntity defaultValue; private DefaultValueModel defaultValue;
private List<FieldValidationType> validations; private List<FieldValidationType> validations;
@ -45,11 +45,11 @@ public class FieldModel {
this.schematics = schematics; this.schematics = schematics;
} }
public DefaultValueEntity getDefaultValue() { public DefaultValueModel getDefaultValue() {
return defaultValue; return defaultValue;
} }
public void setDefaultValue(DefaultValueEntity defaultValue) { public void setDefaultValue(DefaultValueModel defaultValue) {
this.defaultValue = defaultValue; this.defaultValue = defaultValue;
} }