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

31 lines
440 B
JSON
Raw Permalink Normal View History

{
"name": "RoleInherit",
"base": "VnModel",
2024-06-05 10:42:55 +00:00
"mixins": {
"Loggable": true
},
"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"
}
}
}