2017-06-01 16:23:41 +00:00
|
|
|
{
|
2023-12-13 07:50:17 +00:00
|
|
|
"name": "RoleCreditLimit",
|
2022-05-12 07:47:47 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2023-12-13 07:50:17 +00:00
|
|
|
"table": "roleCreditLimit"
|
2022-05-12 07:47:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"maxAmount": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"role": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "roleFk"
|
|
|
|
}
|
|
|
|
}
|
2017-06-01 16:23:41 +00:00
|
|
|
}
|