53 lines
1.4 KiB
JSON
53 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",
|
||
|
"relationshipName": "member",
|
||
|
"otherEntityField": "id"
|
||
|
}
|
||
|
],
|
||
|
"changelogDate": "20190403083739",
|
||
|
"entityTableName": "share",
|
||
|
"dto": "mapstruct",
|
||
|
"pagination": "infinite-scroll",
|
||
|
"service": "serviceClass",
|
||
|
"jpaMetamodelFiltering": true,
|
||
|
"fluentMethods": true,
|
||
|
"clientRootFolder": "",
|
||
|
"applications": "*"
|
||
|
}
|