f7cloud_client/apps/deck/lib/Db/Attachment.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

30 lines
711 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Deck\Db;
class Attachment extends RelationalEntity {
protected $cardId;
protected $type;
protected $data;
protected $lastModified = 0;
protected $createdAt = 0;
protected $createdBy;
protected $deletedAt = 0;
protected $extendedData = [];
public function __construct() {
$this->addType('id', 'integer');
$this->addType('cardId', 'integer');
$this->addType('lastModified', 'integer');
$this->addType('createdAt', 'integer');
$this->addType('deletedAt', 'integer');
$this->addResolvable('createdBy');
$this->addRelation('extendedData');
}
}