salix/modules/client/back/models/tpv-transaction.json

48 lines
951 B
JSON

{
"name": "TpvTransaction",
"base": "VnModel",
"options": {
"mysql": {
"table": "hedera.tpvTransaction"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"merchantFk": {
"type": "Number"
},
"clientFk": {
"type": "Number"
},
"receiptFk": {
"type": "Number"
},
"amount": {
"type": "Number"
},
"response": {
"type": "Number"
},
"errorCode": {
"type": "String"
},
"status": {
"type": "String"
},
"created": {
"type": "Date"
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}