hs.hsadmin.ng/.jhipster/Customer.json

92 lines
2.5 KiB
JSON
Raw Normal View History

{
"name": "Customer",
"fields": [
{
"fieldName": "number",
"fieldType": "Integer",
"fieldValidateRules": [
"required",
"unique",
"min",
"max"
],
"fieldValidateRulesMin": 10000,
"fieldValidateRulesMax": 99999
},
{
"fieldName": "prefix",
"fieldType": "String",
"fieldValidateRules": [
"required",
"unique",
"pattern"
],
"fieldValidateRulesPattern": "[a-z][a-z0-9]+"
},
{
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": [
"required",
"maxlength"
],
"fieldValidateRulesMaxlength": 80
},
{
2019-04-17 16:45:43 +02:00
"fieldName": "contractualSalutation",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
2019-04-17 16:45:43 +02:00
"fieldValidateRulesMaxlength": 80
},
{
2019-04-17 16:45:43 +02:00
"fieldName": "contractualAddress",
"fieldType": "String",
"fieldValidateRules": [
2019-04-17 16:45:43 +02:00
"required",
"maxlength"
],
2019-04-17 16:45:43 +02:00
"fieldValidateRulesMaxlength": 400
},
{
2019-04-17 16:45:43 +02:00
"fieldName": "billingSalutation",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
2019-04-17 16:45:43 +02:00
"fieldValidateRulesMaxlength": 80
},
{
2019-04-17 16:45:43 +02:00
"fieldName": "billingAddress",
"fieldType": "String",
"fieldValidateRules": [
"maxlength"
],
2019-04-17 16:45:43 +02:00
"fieldValidateRulesMaxlength": 400
}
],
"relationships": [
{
"relationshipType": "one-to-many",
2019-04-17 16:45:43 +02:00
"otherEntityName": "membership",
"otherEntityRelationshipName": "customer",
2019-04-17 16:45:43 +02:00
"relationshipName": "membership"
},
{
"relationshipType": "one-to-many",
2019-04-17 16:45:43 +02:00
"otherEntityName": "sepaMandate",
"otherEntityRelationshipName": "customer",
2019-04-17 16:45:43 +02:00
"relationshipName": "sepamandate"
}
],
2019-04-17 16:45:43 +02:00
"changelogDate": "20190418073043",
"entityTableName": "customer",
"dto": "mapstruct",
"pagination": "infinite-scroll",
"service": "serviceClass",
"jpaMetamodelFiltering": true,
"fluentMethods": true,
"clientRootFolder": "",
"applications": "*"
}