mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Added more tests and link some files. Update DB Scheme
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
<?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
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user