mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-05-01 22:06:28 +02:00
add constants
This commit is contained in:
parent
2a792c0945
commit
63b68cbeb7
2 changed files with 7 additions and 0 deletions
models
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue