Files

49 lines
1.2 KiB
JSON

{
"annotations": {
"changelogDate": "20261020093323"
},
"applications": ["*"],
"dto": "mapstruct",
"fields": [
{
"fieldName": "prompt",
"fieldType": "String",
"fieldValidateRules": ["required", "minlength", "maxlength"],
"fieldValidateRulesMaxlength": "2000",
"fieldValidateRulesMinlength": "5"
},
{
"fieldName": "explanation",
"fieldType": "String",
"fieldValidateRules": ["maxlength"],
"fieldValidateRulesMaxlength": "2000"
},
{
"fieldName": "active",
"fieldType": "Boolean",
"fieldValidateRules": ["required"]
}
],
"name": "Question",
"pagination": "pagination",
"relationships": [
{
"otherEntityName": "choice",
"otherEntityRelationshipName": "question",
"relationshipName": "choice",
"relationshipSide": "left",
"relationshipType": "one-to-many"
},
{
"otherEntityField": "name",
"otherEntityName": "subject",
"relationshipName": "subject",
"relationshipSide": "left",
"relationshipType": "many-to-one",
"relationshipValidateRules": "required"
}
],
"searchEngine": "no",
"service": "serviceClass"
}