6df2cbce0b
(it already comes implicitly through the relationship)
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "UserRoleAssignment",
|
|
"fields": [
|
|
{
|
|
"fieldName": "entityTypeId",
|
|
"fieldType": "String"
|
|
},
|
|
{
|
|
"fieldName": "entityObjectId",
|
|
"fieldType": "Long"
|
|
},
|
|
{
|
|
"fieldName": "assignedRole",
|
|
"fieldType": "UserRole",
|
|
"fieldValues": "HOSTMASTER,ADMIN,SUPPORTER,CONTRACTUAL_CONTACT,FINANCIAL_CONTACT,TECHNICAL_CONTACT,CUSTOMER_USER",
|
|
"fieldValidateRules": [
|
|
"required"
|
|
]
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"relationshipType": "many-to-one",
|
|
"otherEntityName": "user",
|
|
"otherEntityRelationshipName": "required",
|
|
"relationshipName": "user",
|
|
"otherEntityField": "login"
|
|
}
|
|
],
|
|
"changelogDate": "20190430154711",
|
|
"entityTableName": "user_role_assignment",
|
|
"dto": "no",
|
|
"pagination": "infinite-scroll",
|
|
"service": "serviceClass",
|
|
"jpaMetamodelFiltering": true,
|
|
"fluentMethods": true,
|
|
"clientRootFolder": "",
|
|
"applications": "*"
|
|
} |