54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "Share",
|
|
"fields": [
|
|
{
|
|
"fieldName": "date",
|
|
"fieldType": "LocalDate",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "action",
|
|
"fieldType": "ShareAction",
|
|
"fieldValues": "SUBSCRIPTION,CANCELLATION",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "quantity",
|
|
"fieldType": "Integer",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "comment",
|
|
"fieldType": "String",
|
|
"fieldValidateRules": [
|
|
"maxlength"
|
|
],
|
|
"fieldValidateRulesMaxlength": 160
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"relationshipType": "many-to-one",
|
|
"otherEntityName": "membership",
|
|
"otherEntityRelationshipName": "share",
|
|
"relationshipValidateRules": "required",
|
|
"relationshipName": "membership",
|
|
"otherEntityField": "from"
|
|
}
|
|
],
|
|
"changelogDate": "20190418073045",
|
|
"entityTableName": "share",
|
|
"dto": "mapstruct",
|
|
"pagination": "infinite-scroll",
|
|
"service": "serviceClass",
|
|
"jpaMetamodelFiltering": true,
|
|
"fluentMethods": true,
|
|
"clientRootFolder": "",
|
|
"applications": "*"
|
|
} |