2019-11-12 13:53:58 +00:00
|
|
|
{
|
|
|
|
"name": "Chat",
|
|
|
|
"base": "VnModel",
|
2022-06-02 12:55:39 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "chat"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"senderFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"recipient": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"dated": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"checkUserStatus": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"message": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"status": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"attempts": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
2019-11-12 13:53:58 +00:00
|
|
|
"acls": [{
|
|
|
|
"property": "validations",
|
|
|
|
"accessType": "EXECUTE",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
|