mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-20 04:43:04 +00:00
Prepare to write conversation objects to database
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Nextcloud - Phone Sync
|
||||
*
|
||||
* 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-2018
|
||||
*/
|
||||
|
||||
namespace OCA\OcSms\Db;
|
||||
|
||||
|
||||
class Conversation {
|
||||
public $id;
|
||||
public $userId;
|
||||
public $phoneNumber;
|
||||
|
||||
public function __construct($userId, $phoneNumber) {
|
||||
$this->userId = $userId;
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
$id = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user