salix/modules/client/back/models/role-credit-limit.json

27 lines
512 B
JSON
Raw Permalink Normal View History

2017-06-01 16:23:41 +00:00
{
"name": "RoleCreditLimit",
2022-05-12 07:47:47 +00:00
"base": "VnModel",
"options": {
"mysql": {
"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": "VnRole",
2022-05-12 07:47:47 +00:00
"foreignKey": "roleFk"
}
}
}