java-tutorials/jhipster/jhipster-monolithic/.jhipster/Comment.json

40 lines
1001 B
JSON

{
"fluentMethods": true,
"relationships": [
{
"relationshipName": "post",
"otherEntityName": "post",
"relationshipType": "many-to-one",
"relationshipValidateRules": [
"required"
],
"otherEntityField": "title"
}
],
"fields": [
{
"fieldName": "text",
"fieldType": "String",
"fieldValidateRules": [
"required",
"minlength",
"maxlength"
],
"fieldValidateRulesMinlength": "10",
"fieldValidateRulesMaxlength": "100"
},
{
"fieldName": "creationDate",
"fieldType": "LocalDate",
"fieldValidateRules": [
"required"
]
}
],
"changelogDate": "20170316224021",
"dto": "no",
"service": "no",
"entityTableName": "comment",
"pagination": "infinite-scroll"
}