0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-07 07:11:32 +00:00
nextcloud_server/apps/contactsinteraction/lib/Db/RecentContact.php
Andy Scherzinger 9d4b944098
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +02:00

43 lines
1.2 KiB
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\ContactsInteraction\Db;
use OCP\AppFramework\Db\Entity;
/**
* @method void setActorUid(string $uid)
* @method string|null getActorUid()
* @method void setUid(string $uid)
* @method string|null getUid()
* @method void setEmail(string $email)
* @method string|null getEmail()
* @method void setFederatedCloudId(string $federatedCloudId)
* @method string|null getFederatedCloudId()
* @method void setCard(string $card)
* @method string getCard()
* @method void setLastContact(int $lastContact)
* @method int getLastContact()
*/
class RecentContact extends Entity {
protected string $actorUid = '';
protected ?string $uid = null;
protected ?string $email = null;
protected ?string $federatedCloudId = null;
protected string $card = '';
protected int $lastContact = -1;
public function __construct() {
$this->addType('actorUid', 'string');
$this->addType('uid', 'string');
$this->addType('email', 'string');
$this->addType('federatedCloudId', 'string');
$this->addType('card', 'blob');
$this->addType('lastContact', 'int');
}
}