1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00
ocsms/db/sms.php
2016-01-30 22:54:12 +01:00

37 lines
799 B
PHP

<?php
/**
* ownCloud - ocsms
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Loic Blot <loic.blot@unix-experience.fr>
* @copyright Loic Blot 2014-2016
*/
namespace OCA\OcSms\Db;
use \OCP\AppFramework\Db\Entity;
class Sms extends Entity {
protected $userId;
protected $added;
protected $lastmodified;
protected $smsRead;
protected $smsSeen;
protected $smsDate;
protected $smsDraft;
protected $smsId;
protected $smsAddress;
protected $smsMsg;
public function __construct () {
$this->addType('smsId', 'integer');
$this->addType('smsDraft', 'boolean');
$this->addType('smsRead', 'boolean');
$this->addType('smsSeen', 'boolean');
}
}
?>