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

156 lines
2.7 KiB
JSON

{
"user": {
"dataSource": "salix"
},
"AccessToken": {
"dataSource": "salix",
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"foreignKey": "userId"
}
}
},
"ACL": {
"dataSource": "salix"
},
"Claim": {
"dataSource": "vn"
},
"ClaimBeginning": {
"dataSource": "vn"
},
"FieldAcl": {
"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"
},
"Bank": {
"dataSource": "vn"
},
"Client": {
"dataSource": "vn"
},
"ClientLog": {
"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"
},
"MessageInbox": {
"dataSource": "vn"
},
"WorkerMana": {
"dataSource": "bs"
},
"DeliveryMethod": {
"dataSource": "vn"
},
"UserConfig": {
"dataSource": "vn"
},
"ClaimRatio": {
"dataSource": "vn"
},
"WorkerTeam": {
"dataSource": "vn"
},
"TicketRequest": {
"dataSource": "vn"
}
}