1
0
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:
Loïc Blot (@U-Exp)
2014-09-12 15:29:58 +02:00
parent 29dc4dcf46
commit 0a16d05c0d
5 changed files with 46 additions and 4 deletions
+29
View File
@@ -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
}
?>