src/Entity/Scp/Document.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Scp;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  */
  7. class Document
  8. {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\Column(type="integer")
  12.      *
  13.      * @var int
  14.      */
  15.     protected $id;
  16.     /**
  17.      * @ORM\Column(name="NumeroClient", type="integer")
  18.      *
  19.      * @var int
  20.      */
  21.     protected $customerNumber;
  22.     /**
  23.      * @ORM\Column(name="NumeroContrat", type="string")
  24.      *
  25.      * @var string
  26.      */
  27.     protected $contractNumber;
  28.     /**
  29.      * @ORM\Column(name="Fichier", type="text")
  30.      *
  31.      * @var string
  32.      */
  33.     protected $filePath;
  34.     /**
  35.      * @ORM\Column(name="HashFichier", type="text")
  36.      *
  37.      * @var string
  38.      */
  39.     protected $hash;
  40.     public function getId(): int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getCustomerNumber(): int
  45.     {
  46.         return $this->customerNumber;
  47.     }
  48.     public function getContractNumber(): string
  49.     {
  50.         return $this->contractNumber;
  51.     }
  52.     public function getFilePath(): string
  53.     {
  54.         return $this->filePath;
  55.     }
  56.     public function getHash(): string
  57.     {
  58.         return $this->hash;
  59.     }
  60. }