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

60 lines
1.2 KiB
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"
},
"merchantParameters": {
"type": "string"
},
"signature": {
"type": "string"
},
"signatureVersion": {
"type": "string"
},
"responseError": {
"type": "string"
}
},
"relations": {
"client": {
"type": "belongsTo",
"model": "Client",
"foreignKey": "clientFk"
}
}
}