2018-02-07 12:48:55 +00:00
|
|
|
{
|
2018-02-08 10:40:06 +00:00
|
|
|
"name": "ItemLog",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "itemLog"
|
2018-02-07 12:48:55 +00:00
|
|
|
}
|
2018-02-08 10:40:06 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"creationDate": {
|
|
|
|
"type": "Date"
|
2018-02-07 12:48:55 +00:00
|
|
|
},
|
2018-02-08 10:40:06 +00:00
|
|
|
"description": {
|
|
|
|
"type": "String"
|
2018-02-08 11:04:33 +00:00
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"type": "String"
|
2018-02-07 12:48:55 +00:00
|
|
|
}
|
2018-02-08 10:40:06 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "originFk"
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
2018-02-08 11:04:33 +00:00
|
|
|
"model": "Account",
|
2018-02-08 10:40:06 +00:00
|
|
|
"foreignKey": "userFk"
|
|
|
|
}
|
2018-02-21 08:28:17 +00:00
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
2018-02-08 10:40:06 +00:00
|
|
|
}
|