salix/services/route/server/model-config.json

40 lines
575 B
JSON

{
"user": {
"dataSource": "auth"
},
"AccessToken": {
"dataSource": "auth",
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"foreignKey": "userId"
}
}
},
"ACL": {
"dataSource": "auth"
},
"RoleMapping": {
"dataSource": "auth"
},
"Role": {
"dataSource": "auth"
},
"Account": {
"dataSource": "auth"
},
"Delivery": {
"dataSource": "vn"
},
"Zone": {
"dataSource": "vn"
},
"Agency": {
"dataSource": "vn"
},
"Vehicle": {
"dataSource": "vn"
}
}