33 lines
668 B
JSON
33 lines
668 B
JSON
{
|
|
"name": "TpvMerchant",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "tpvMerchant",
|
|
"database": "hedera"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
|