61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"name": "Share",
|
|
"fields": [
|
|
{
|
|
"fieldName": "documentDate",
|
|
"fieldType": "LocalDate",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "valueDate",
|
|
"fieldType": "LocalDate",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "action",
|
|
"fieldType": "ShareAction",
|
|
"fieldValues": "SUBSCRIPTION,CANCELLATION",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "quantity",
|
|
"fieldType": "Integer",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
},
|
|
{
|
|
"fieldName": "remark",
|
|
"fieldType": "String",
|
|
"fieldValidateRules": [
|
|
"maxlength"
|
|
],
|
|
"fieldValidateRulesMaxlength": 160
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"relationshipType": "many-to-one",
|
|
"otherEntityName": "membership",
|
|
"otherEntityRelationshipName": "share",
|
|
"relationshipValidateRules": "required",
|
|
"relationshipName": "membership",
|
|
"otherEntityField": "admissionDocumentDate"
|
|
}
|
|
],
|
|
"changelogDate": "20190430154656",
|
|
"entityTableName": "share",
|
|
"dto": "mapstruct",
|
|
"pagination": "infinite-scroll",
|
|
"service": "serviceClass",
|
|
"jpaMetamodelFiltering": true,
|
|
"fluentMethods": true,
|
|
"clientRootFolder": "",
|
|
"applications": "*"
|
|
} |