mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix: Update StoredObject entity.
This commit is contained in:
parent
0366d0cb17
commit
c208797daf
@ -7,6 +7,7 @@ namespace Chill\DocStoreBundle\Entity;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use ChampsLibres\AsyncUploaderBundle\Model\AsyncFileInterface;
|
||||
use ChampsLibres\AsyncUploaderBundle\Validator\Constraints\AsyncFileExists;
|
||||
use DateTimeInterface;
|
||||
|
||||
/**
|
||||
* Represent a document stored in an object store
|
||||
@ -35,23 +36,20 @@ class StoredObject implements AsyncFileInterface
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="json_array", name="key")
|
||||
* @var array
|
||||
*/
|
||||
private $keyInfos = array();
|
||||
private array $keyInfos;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int[]
|
||||
* @ORM\Column(type="json_array", name="iv")
|
||||
*/
|
||||
private $iv = array();
|
||||
private array $iv;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \DateTime
|
||||
* @ORM\Column(type="datetime", name="creation_date")
|
||||
*/
|
||||
private $creationDate;
|
||||
private DateTimeInterface $creationDate;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text", name="type")
|
||||
@ -59,11 +57,9 @@ class StoredObject implements AsyncFileInterface
|
||||
private string $type = '';
|
||||
|
||||
/**
|
||||
*
|
||||
* @var array
|
||||
* @ORM\Column(type="json_array", name="datas")
|
||||
*/
|
||||
private $datas = [];
|
||||
private array $datas;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user