salix/modules/account/back/models/role-role.json

27 lines
361 B
JSON
Raw Normal View History

{
"name": "RoleRole",
"base": "VnModel",
"options": {
"mysql": {
"table": "account.roleRole"
}
},
"properties": {
"id": {
"id": true
}
},
"relations": {
"owner": {
"type": "belongsTo",
"model": "Role",
"foreignKey": "role"
},
"inherits": {
"type": "belongsTo",
"model": "Role",
"foreignKey": "inheritsFrom"
}
}
}