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