mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
start adding call support
This commit is contained in:
parent
e339dc4758
commit
52a0302dc2
12 changed files with 298 additions and 18 deletions
29
models/Call.php
Normal file
29
models/Call.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of RaspiSMS.
|
||||
*
|
||||
* (c) Pierre-Lin Bonnemaison <plebwebsas@gmail.com>
|
||||
*
|
||||
* This source file is subject to the GPL-3.0 license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace models;
|
||||
|
||||
/**
|
||||
* Manage bdd operations for calls
|
||||
*/
|
||||
class Call extends StandardModel
|
||||
{
|
||||
const DIRECTION_INBOUND = 'inbound';
|
||||
const DIRECTION_OUTBOUND = 'outbound';
|
||||
|
||||
/**
|
||||
* Return table name.
|
||||
*/
|
||||
protected function get_table_name(): string
|
||||
{
|
||||
return 'call';
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue