62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
|
{
|
||
|
"name": "Membership",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldName": "documentDate",
|
||
|
"fieldType": "LocalDate",
|
||
|
"fieldValidateRules": [
|
||
|
"required"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"fieldName": "memberFrom",
|
||
|
"fieldType": "LocalDate",
|
||
|
"fieldValidateRules": [
|
||
|
"required"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"fieldName": "memberUntil",
|
||
|
"fieldType": "LocalDate"
|
||
|
},
|
||
|
{
|
||
|
"fieldName": "remark",
|
||
|
"fieldType": "String",
|
||
|
"fieldValidateRules": [
|
||
|
"maxlength"
|
||
|
],
|
||
|
"fieldValidateRulesMaxlength": 160
|
||
|
}
|
||
|
],
|
||
|
"relationships": [
|
||
|
{
|
||
|
"relationshipType": "one-to-many",
|
||
|
"otherEntityName": "share",
|
||
|
"otherEntityRelationshipName": "membership",
|
||
|
"relationshipName": "share"
|
||
|
},
|
||
|
{
|
||
|
"relationshipType": "one-to-many",
|
||
|
"otherEntityName": "asset",
|
||
|
"otherEntityRelationshipName": "membership",
|
||
|
"relationshipName": "asset"
|
||
|
},
|
||
|
{
|
||
|
"relationshipType": "many-to-one",
|
||
|
"otherEntityName": "customer",
|
||
|
"otherEntityRelationshipName": "membership",
|
||
|
"relationshipValidateRules": "required",
|
||
|
"relationshipName": "customer",
|
||
|
"otherEntityField": "prefix"
|
||
|
}
|
||
|
],
|
||
|
"changelogDate": "20190418143051",
|
||
|
"entityTableName": "membership",
|
||
|
"dto": "mapstruct",
|
||
|
"pagination": "infinite-scroll",
|
||
|
"service": "serviceClass",
|
||
|
"jpaMetamodelFiltering": true,
|
||
|
"fluentMethods": true,
|
||
|
"clientRootFolder": "",
|
||
|
"applications": "*"
|
||
|
}
|