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

64 lines
978 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"
},
"Client": {
"dataSource": "vn"
},
"ClientCredit": {
"dataSource": "vn"
},
"ClientCreditLimit": {
"dataSource": "vn"
},
"ClientObservation": {
"dataSource": "vn"
},
"PayMethod": {
"dataSource": "vn"
},
"Address": {
"dataSource": "vn"
},
"AgencyService": {
"dataSource": "vn"
},
"Province": {
"dataSource": "vn"
},
"Country": {
"dataSource": "vn"
},
"ContactChannel": {
"dataSource": "vn"
},
"Employee": {
"dataSource": "vn"
},
"CreditClassification": {
"dataSource": "vn"
}
}