add constants

This commit is contained in:
osaajani 2020-04-02 18:39:40 +02:00
parent 2a792c0945
commit 63b68cbeb7
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,9 @@ namespace models;
*/ */
class Received extends StandardModel class Received extends StandardModel
{ {
const STATUS_UNREAD = 'unread';
const STATUS_READ = 'read';
/** /**
* Return a list of unread received for a user. * Return a list of unread received for a user.
* *

View File

@ -13,6 +13,10 @@ namespace models;
class Webhook extends StandardModel class Webhook extends StandardModel
{ {
const TYPE_SEND = 'send_sms';
const TYPE_RECEIVE = 'receive_sms';
/** /**
* Find all webhooks for a user and for a type of webhook. * Find all webhooks for a user and for a type of webhook.
* *