From f27cca08ff786ceff1870147f6d6bad14d71117f Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 23 Oct 2026 00:47:32 +0200 Subject: =?UTF-8?q?dossiers=20avec=20majuscule,=20namespace=20pour=20toute?= =?UTF-8?q?s=20les=20classes,=20autoload=20psr-4,=20UserDataService::creat?= =?UTF-8?q?eZip=20d=C3=A9plac=C3=A9=20dans=20Backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Model/Entity/Asset.php | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/Model/Entity/Asset.php (limited to 'src/Model/Entity/Asset.php') diff --git a/src/Model/Entity/Asset.php b/src/Model/Entity/Asset.php new file mode 100644 index 0000000..51e21fe --- /dev/null +++ b/src/Model/Entity/Asset.php @@ -0,0 +1,68 @@ +file_name = $name; + $this->mime_type = $mime_type; + $this->hash = $hash; + } + + public function getFileName(): string + { + return $this->file_name; + } + public function setFileName(string $name): void + { + $this->file_name = $name; + } + public function getMimeType(): string + { + return $this->mime_type; + } + public function setMimeType(string $mime_type): void + { + $this->mime_type = $mime_type; + } + public function getHash(): string + { + return $this->hash; + } + + public function getAssetEmployments(): Collection + { + return $this->asset_employment; + } +} -- cgit v1.2.3