1
0
Fork 0
mirror of https://github.com/RaspbianFrance/raspisms.git synced 2025-05-01 22:06:28 +02:00

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.
* *