src/Entity/UUID/Owners.php line 9

  1. <?php
  2. namespace App\Entity\UUID;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Table(name'uuid_owners')]
  5. #[ORM\Entity(repositoryClass'App\Repository\Uuid\OwnerRepository')]
  6. class Owners
  7. {
  8.     /**
  9.      * @var string
  10.      */
  11.     #[ORM\Column(type'string'length36)]
  12.     #[ORM\Id]
  13.     private $uuid;
  14.     /**
  15.      * @var string
  16.      */
  17.     #[ORM\Column(type'string')]
  18.     private $type;
  19.     /**
  20.      * @return string
  21.      */
  22.     public function getUuid(): string
  23.     {
  24.         return $this->uuid;
  25.     }
  26.     /**
  27.      * @param string $uuid
  28.      */
  29.     public function setUuid(string $uuid): void
  30.     {
  31.         $this->uuid $uuid;
  32.     }
  33.     /**
  34.      * @return string
  35.      */
  36.     public function getType(): string
  37.     {
  38.         return $this->type;
  39.     }
  40.     /**
  41.      * @param string $type
  42.      */
  43.     public function setType(string $type): void
  44.     {
  45.         $this->type $type;
  46.     }
  47. }