src/Entity/Version.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VersionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassVersionRepository::class)]
  6. class Version
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private int $id;
  12.     #[ORM\Column(type'string'length255nullabletrue)]
  13.     private ?string $kindnull;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private ?string $devicenull;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private ?string $codenull;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private ?string $display_namenull;
  20.     #[ORM\Column(type'text'nullabletrue)]
  21.     private ?string $release_notesnull;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getKind(): ?string
  27.     {
  28.         return $this->kind;
  29.     }
  30.     public function setKind(?string $kind): self
  31.     {
  32.         $this->kind $kind;
  33.         return $this;
  34.     }
  35.     public function getDevice(): ?string
  36.     {
  37.         return $this->device;
  38.     }
  39.     public function setDevice(?string $device): self
  40.     {
  41.         $this->device $device;
  42.         return $this;
  43.     }
  44.     public function getCode(): ?string
  45.     {
  46.         return $this->code;
  47.     }
  48.     public function setCode(?string $code): self
  49.     {
  50.         $this->code $code;
  51.         return $this;
  52.     }
  53.     public function getDisplayName(): ?string
  54.     {
  55.         return $this->display_name;
  56.     }
  57.     public function setDisplayName(?string $display_name): self
  58.     {
  59.         $this->display_name $display_name;
  60.         return $this;
  61.     }
  62.     public function getReleaseNotes(): ?string
  63.     {
  64.         return $this->release_notes;
  65.     }
  66.     public function setReleaseNotes(?string $release_notes): self
  67.     {
  68.         $this->release_notes $release_notes;
  69.         return $this;
  70.     }
  71. }