{
"name": "InvoiceInLog",
"base": "VnModel",
"options": {
"mysql": {
"table": "invoiceInLog"
}
},
"properties": {
"id": {
"id": true,
"type": "number",
"forceId": false
"originFk": {
"required": true
"userFk": {
"type": "number"
"action": {
"type": "string",
"changedModel": {
"type": "string"
"oldInstance": {
"type": "object"
"newInstance": {
"creationDate": {
"type": "date"
"changedModelId": {
"changedModelValue": {
"description": {
"relations": {
"user": {
"type": "belongsTo",
"model": "VnUser",
"foreignKey": "userFk"
"scope": {
"order": [
"creationDate DESC",
"id DESC"
]