refs #5666 feat: define VnRole

This commit is contained in:
Javier Segarra 2023-11-10 15:12:03 +01:00
parent 83b9ef72fc
commit 5dbfe31a60
3 changed files with 22 additions and 0 deletions

View File

@ -10,5 +10,11 @@
"eslint.format.enable": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"cSpell.words": [
"Loggable"
],
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}

View File

@ -142,6 +142,9 @@
"VnUser": {
"dataSource": "vn"
},
"VnRole": {
"dataSource": "vn"
},
"OsTicket": {
"dataSource": "osticket"
},

13
back/models/vn-role.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "VnRole",
"base": "Role",
"validateUpsert": true,
"options": {
"mysql": {
"table": "account.role"
}
},
"mixins": {
"RegisterLog": true
}
}