salix/services/item/common/models/item-log.json

47 lines
789 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": {
"mysql": {
"table": "itemLog",
"database": "vn"
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
}