30 lines
735 B
PHP
30 lines
735 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\MailCalendarSync\Db;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
/**
|
|
* @method string getUserId()
|
|
* @method void setUserId(string $userId)
|
|
* @method int getMailAccountId()
|
|
* @method void setMailAccountId(int $mailAccountId)
|
|
* @method string getMessageId()
|
|
* @method void setMessageId(string $messageId)
|
|
* @method string|null getProcessedAt()
|
|
* @method void setProcessedAt(?string $processedAt)
|
|
*/
|
|
class ProcessedMessage extends Entity {
|
|
|
|
protected string $userId = '';
|
|
protected int $mailAccountId = 0;
|
|
protected string $messageId = '';
|
|
protected ?string $processedAt = null;
|
|
|
|
public function __construct() {
|
|
$this->addType('mailAccountId', 'integer');
|
|
}
|
|
}
|