53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "Asset",
|
|
"fields": [
|
|
{
|
|
"fieldName": "date",
|
|
"fieldType": "LocalDate",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "action",
|
|
"fieldType": "AssetAction",
|
|
"fieldValues": "PAYMENT,HANDOVER,ADOPTION,LOSS,CLEARING,PAYBACK",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "amount",
|
|
"fieldType": "BigDecimal",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "comment",
|
|
"fieldType": "String",
|
|
"fieldValidateRules": [
|
|
"maxlength"
|
|
],
|
|
"fieldValidateRulesMaxlength": 160
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"relationshipType": "many-to-one",
|
|
"otherEntityName": "membership",
|
|
"otherEntityRelationshipName": "asset",
|
|
"relationshipName": "member",
|
|
"otherEntityField": "id"
|
|
}
|
|
],
|
|
"changelogDate": "20190403083740",
|
|
"entityTableName": "asset",
|
|
"dto": "mapstruct",
|
|
"pagination": "infinite-scroll",
|
|
"service": "serviceClass",
|
|
"jpaMetamodelFiltering": true,
|
|
"fluentMethods": true,
|
|
"clientRootFolder": "",
|
|
"applications": "*"
|
|
} |