mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-02 12:16:25 +00:00
30 lines
681 B
PHP
30 lines
681 B
PHP
<?php
|
|
// db/author.php
|
|
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');
|
|
}
|
|
|
|
id | user_id | added | lastmodified | sms_read | sms_date | sms_id | sms_address | sms_msg
|
|
}
|
|
?>
|