2020-03-09 08:00:03 +00:00
|
|
|
{
|
|
|
|
"name": "RoleRole",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "account.roleRole"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2020-10-30 23:02:27 +00:00
|
|
|
"id": {
|
2020-03-09 08:00:03 +00:00
|
|
|
"id": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"owner": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "role"
|
|
|
|
},
|
|
|
|
"inherits": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "inheritsFrom"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|