<?php
namespace App\Entity;
use App\Repository\SeoProjectCheckRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SeoProjectCheckRepository::class)
*/
class SeoProjectCheck
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=SeoProject::class, inversedBy="checklist")
* @ORM\JoinColumn(nullable=false)
*/
private $project;
/**
* @ORM\Column(type="integer" )
*/
private $status;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $checkDate;
/**
* @ORM\ManyToOne(targetEntity=Users::class, inversedBy="seoProjectChecks")
*/
private $user;
/**
* @ORM\ManyToOne(targetEntity=SeoCheck::class)
* @ORM\JoinColumn(nullable=false)
*/
private $seoCheck;
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): ?int
{
return $this->id;
}
public function getProject(): ?SeoProject
{
return $this->project;
}
public function setProject(?SeoProject $project): self
{
$this->project = $project;
return $this;
}
public function getStatus(): ?int
{
return $this->status;
}
public function setStatus(int $status): self
{
$this->status = $status;
return $this;
}
public function getCheckDate(): ?\DateTimeInterface
{
return $this->checkDate;
}
public function setCheckDate(?\DateTimeInterface $checkDate): self
{
$this->checkDate = $checkDate;
return $this;
}
public function getUser(): ?Users
{
return $this->user;
}
public function setUser(?Users $user): self
{
$this->user = $user;
return $this;
}
public function getSeoCheck(): ?SeoCheck
{
return $this->seoCheck;
}
public function setSeoCheck(?SeoCheck $seoCheck): self
{
$this->seoCheck = $seoCheck;
return $this;
}
}