salix/services/loopback/common/models/client-log.json

53 lines
850 B
JSON
Raw Normal View History

2018-10-03 07:37:34 +00:00
{
"name": "ClientLog",
"base": "VnModel",
"options": {
"mysql": {
"table": "clientLog"
}
},
"properties": {
"id": {
"id": true,
"type": "Number",
"forceId": false
},
"originFk": {
"type": "Number",
"required": true
},
"userFk": {
2018-10-05 11:06:11 +00:00
"type": "Number"
2018-10-03 07:37:34 +00:00
},
"action": {
"type": "String",
"required": true
},
2018-10-17 07:04:32 +00:00
"changedModel": {
"type": "Object"
2018-10-03 07:37:34 +00:00
},
"oldInstance": {
2018-10-17 07:04:32 +00:00
"type": "Object"
2018-10-03 07:37:34 +00:00
},
"newInstance": {
2018-10-17 07:04:32 +00:00
"type": "Object"
2018-10-03 07:37:34 +00:00
},
"creationDate": {
"type": "Date"
2018-10-17 07:04:32 +00:00
},
"changedModelId": {
"type": "Number"
},
"changedModelValue": {
"type": "Number"
2018-10-03 07:37:34 +00:00
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "Account",
"foreignKey": "userFk"
}
}
}