27 lines
516 B
JSON
27 lines
516 B
JSON
{
|
|
"name": "ClientCreditLimit",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "clientCreditLimit"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"maxAmount": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"role": {
|
|
"type": "belongsTo",
|
|
"model": "VnRole",
|
|
"foreignKey": "roleFk"
|
|
}
|
|
}
|
|
}
|