src/Entity/SeoProjectCheck.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SeoProjectCheckRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SeoProjectCheckRepository::class)
  7.  */
  8. class SeoProjectCheck
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=SeoProject::class, inversedBy="checklist")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $project;
  21.     /**
  22.      * @ORM\Column(type="integer" )
  23.      */
  24.     private $status;
  25.     /**
  26.      * @ORM\Column(type="datetime", nullable=true)
  27.      */
  28.     private $checkDate;
  29.     /**
  30.      * @ORM\ManyToOne(targetEntity=Users::class, inversedBy="seoProjectChecks")
  31.      */
  32.     private $user;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=SeoCheck::class)
  35.      * @ORM\JoinColumn(nullable=false)
  36.      */
  37.     private $seoCheck;
  38.     public function setId(int $id): self
  39.     {
  40.         $this->id $id;
  41.         return $this;
  42.     }
  43.     public function getId(): ?int
  44.     {
  45.         return $this->id;
  46.     }
  47.     public function getProject(): ?SeoProject
  48.     {
  49.         return $this->project;
  50.     }
  51.     public function setProject(?SeoProject $project): self
  52.     {
  53.         $this->project $project;
  54.         return $this;
  55.     }
  56.     public function getStatus(): ?int
  57.     {
  58.         return $this->status;
  59.     }
  60.     public function setStatus(int $status): self
  61.     {
  62.         $this->status $status;
  63.         return $this;
  64.     }
  65.     public function getCheckDate(): ?\DateTimeInterface
  66.     {
  67.         return $this->checkDate;
  68.     }
  69.     public function setCheckDate(?\DateTimeInterface $checkDate): self
  70.     {
  71.         $this->checkDate $checkDate;
  72.         return $this;
  73.     }
  74.     public function getUser(): ?Users
  75.     {
  76.         return $this->user;
  77.     }
  78.     public function setUser(?Users $user): self
  79.     {
  80.         $this->user $user;
  81.         return $this;
  82.     }
  83.     public function getSeoCheck(): ?SeoCheck
  84.     {
  85.         return $this->seoCheck;
  86.     }
  87.     public function setSeoCheck(?SeoCheck $seoCheck): self
  88.     {
  89.         $this->seoCheck $seoCheck;
  90.         return $this;
  91.     }
  92. }