salix/modules/client/back/models/role-credit-limit.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"
}
}
}