salix/modules/client/models/tpv-merchant.json

32 lines
643 B
JSON

{
"name": "TpvMerchant",
"base": "VnModel",
"options": {
"mysql": {
"table": "hedera.tpvMerchant"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"description": {
"type": "string",
"required": true
},
"secretKey": {
"type": "string",
"required": true
}
},
"relations": {
"company": {
"type": "belongsTo",
"model": "Company",
"foreignKey": "companyFk"
}
}
}