26 lines
509 B
JSON
26 lines
509 B
JSON
{
|
|
"name": "RoleCreditLimit",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "roleCreditLimit"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"maxAmount": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"role": {
|
|
"type": "belongsTo",
|
|
"model": "Role",
|
|
"foreignKey": "roleFk"
|
|
}
|
|
}
|
|
} |