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

127 lines
2.2 KiB
JSON

{
"user": {
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"foreignKey": "userId"
}
}
},
"ACL": {
"dataSource": "salix"
},
"ObservationType": {
"dataSource": "vn"
},
"TicketObservation": {
"dataSource": "vn"
},
"TicketTracking": {
"dataSource": "vn"
},
"RoleMapping": {
"dataSource": "salix"
},
"Role": {
"dataSource": "salix"
},
"Account": {
"dataSource": "account"
},
"Address": {
"dataSource": "vn"
},
"Agency": {
"dataSource": "vn"
},
"AgencyMode": {
"dataSource": "vn"
},
"Client": {
"dataSource": "vn"
},
"ClientCreditLimit": {
"dataSource": "vn"
},
"Company": {
"dataSource": "vn"
},
"ContactChannel": {
"dataSource": "vn"
},
"Country": {
"dataSource": "vn"
},
"PayMethod": {
"dataSource": "vn"
},
"Province": {
"dataSource": "vn"
},
"Warehouse":{
"dataSource": "vn"
},
"Worker": {
"dataSource": "vn"
},
"Ticket": {
"dataSource": "vn"
},
"Route": {
"dataSource": "vn"
},
"State":{
"dataSource": "vn"
},
"Sale": {
"dataSource": "vn"
},
"TicketState":{
"dataSource": "vn"
},
"Item": {
"dataSource": "vn"
},
"ItemTag": {
"dataSource": "vn"
},
"Tag": {
"dataSource": "vn"
},
"Origin": {
"dataSource": "vn"
},
"ItemType": {
"dataSource": "vn"
},
"ItemCategory": {
"dataSource": "vn"
},
"Expence": {
"dataSource": "vn"
},
"Ink": {
"dataSource": "vn"
},
"Intrastat": {
"dataSource": "vn"
},
"Producer": {
"dataSource": "vn"
},
"Message": {
"dataSource": "vn"
},
"WorkerMana": {
"dataSource": "bs"
},
"DeliveryMethod": {
"dataSource": "vn"
}
}