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

28 lines
392 B
JSON
Raw Normal View History

{
"name": "RoleInherit",
"base": "VnModel",
"options": {
"mysql": {
"table": "account.roleInherit"
}
},
"properties": {
"id": {
"type": "number",
"id": true
}
},
"relations": {
"owner": {
"type": "belongsTo",
"model": "VnRole",
"foreignKey": "role"
},
"inherits": {
"type": "belongsTo",
"model": "VnRole",
"foreignKey": "inheritsFrom"
}
}
}