src/Entity/EcoMarks.php line 9

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\EcoMarksRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassEcoMarksRepository::class)]
  6. class EcoMarks
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $mark;
  14.     #[ORM\Column(type'integer'nullabletrue)]
  15.     private $siteId;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getMark(): ?string
  21.     {
  22.         return $this->mark;
  23.     }
  24.     public function setMark(string $mark): self
  25.     {
  26.         $this->mark $mark;
  27.         return $this;
  28.     }
  29.     public function getSiteId(): ?int
  30.     {
  31.         return $this->siteId;
  32.     }
  33.     public function setSiteId(?int $siteId): self
  34.     {
  35.         $this->siteId $siteId;
  36.         return $this;
  37.     }
  38. }