salix/modules/client/back/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"
}
}
}