salix/modules/item/back/models/item-log.json

56 lines
897 B
JSON
Raw Normal View History

2018-02-07 12:48:55 +00:00
{
2018-02-08 10:40:06 +00:00
"name": "ItemLog",
"base": "VnModel",
"options": {
2019-03-12 10:47:53 +00:00
"mysql": {
"table": "itemLog"
}
2018-02-08 10:40:06 +00:00
},
"properties": {
"id": {
"id": true,
2019-03-12 10:47:53 +00:00
"type": "Number",
"forceId": false
},
"originFk": {
"type": "Number",
"required": true
},
"userFk": {
"type": "Number"
},
"action": {
"type": "String",
"required": true
},
"changedModel": {
"type": "String"
},
"oldInstance": {
"type": "Object"
},
"newInstance": {
"type": "Object"
2018-02-08 10:40:06 +00:00
},
"creationDate": {
"type": "Date"
2018-02-07 12:48:55 +00:00
},
2019-03-12 10:47:53 +00:00
"changedModelId": {
"type": "Number"
},
"changedModelValue": {
2018-02-08 10:40:06 +00:00
"type": "String"
2018-02-08 11:04:33 +00:00
},
2019-03-12 10:47:53 +00:00
"description": {
2018-02-08 11:04:33 +00:00
"type": "String"
2018-02-07 12:48:55 +00:00
}
2018-02-08 10:40:06 +00:00
},
"relations": {
"user": {
"type": "belongsTo",
2018-02-08 11:04:33 +00:00
"model": "Account",
2018-02-08 10:40:06 +00:00
"foreignKey": "userFk"
2019-03-12 10:47:53 +00:00
}
}
2018-02-08 10:40:06 +00:00
}