<?phpnamespace App\Entity;use App\Repository\MarriageCertificateRepository;use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=MarriageCertificateRepository::class) * @Auditable() */class MarriageCertificate{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userCreate; /** * @ORM\ManyToOne(targetEntity=Users::class) */ private $userUpdate; /** * @ORM\Column(type="datetime") */ private $dateCreate; /** * @ORM\Column(type="datetime", nullable=true) */ private $dateUpdate; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $man; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $women; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $dad_women; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $dad_man; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $mother_man; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $mother_women; /** * @ORM\Column(type="integer", nullable=true) */ private $status; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $witness_1; /** * @ORM\ManyToOne(targetEntity=Identite::class) */ private $witness_2; /** * @ORM\Column(type="boolean", nullable=true) */ private $isDeleted; /** * @ORM\ManyToOne(targetEntity=Sites::class) */ private $site; /** * @ORM\ManyToOne(targetEntity=Regime::class) */ private $regime; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $authorityName; /** * @ORM\Column(type="boolean", nullable=true) */ private $isPublished; /** * @ORM\Column(type="datetime", nullable=true) */ private $datePublish; public function __construct() { $this->isDeleted = false; $this->status = 1; $this->dateCreate = new \DateTime(); } public function getId(): ?int { return $this->id; } public function getUserCreate(): ?Users { return $this->userCreate; } public function setUserCreate(?Users $userCreate): self { $this->userCreate = $userCreate; return $this; } public function getUserUpdate(): ?Users { return $this->userUpdate; } public function setUserUpdate(?Users $userUpdate): self { $this->userUpdate = $userUpdate; return $this; } public function getDateCreate(): ?\DateTimeInterface { return $this->dateCreate; } public function setDateCreate(\DateTimeInterface $dateCreate): self { $this->dateCreate = $dateCreate; return $this; } public function getDateUpdate(): ?\DateTimeInterface { return $this->dateUpdate; } public function setDateUpdate(?\DateTimeInterface $dateUpdate): self { $this->dateUpdate = $dateUpdate; return $this; } public function getMan(): ?Identite { return $this->man; } public function setMan(?Identite $man): self { $this->man = $man; return $this; } public function getWomen(): ?Identite { return $this->women; } public function setWomen(?Identite $women): self { $this->women = $women; return $this; } public function getDadWomen(): ?Identite { return $this->dad_women; } public function setDadWomen(?Identite $dad_women): self { $this->dad_women = $dad_women; return $this; } public function getDadMan(): ?Identite { return $this->dad_man; } public function setDadMan(?Identite $dad_man): self { $this->dad_man = $dad_man; return $this; } public function getMotherMan(): ?Identite { return $this->mother_man; } public function setMotherMan(?Identite $mother_man): self { $this->mother_man = $mother_man; return $this; } public function getMotherWomen(): ?Identite { return $this->mother_women; } public function setMotherWomen(?Identite $mother_women): self { $this->mother_women = $mother_women; return $this; } public function getWitness1(): ?Identite { return $this->witness_1; } public function setWitness1(?Identite $witness_1): self { $this->witness_1 = $witness_1; return $this; } public function getWitness2(): ?Identite { return $this->witness_2; } public function setWitness2(?Identite $witness_2): self { $this->witness_2 = $witness_2; return $this; } public function getIsDeleted(): ?bool { return $this->isDeleted; } public function setIsDeleted(?bool $isDeleted): self { $this->isDeleted = $isDeleted; return $this; } public function getSite(): ?Sites { return $this->site; } public function setSite(?Sites $site): self { $this->site = $site; return $this; } public function getRegime(): ?Regime { return $this->regime; } public function setRegime(?Regime $regime): self { $this->regime = $regime; return $this; } public function getAuthorityName(): ?string { return $this->authorityName; } public function setAuthorityName(?string $authorityName): self { $this->authorityName = $authorityName; return $this; } public function getIsPublished(): ?bool { return $this->isPublished; } public function setIsPublished(?bool $isPublished): self { $this->isPublished = $isPublished; return $this; } public function getDatePublish(): ?\DateTimeInterface { return $this->datePublish; } public function setDatePublish(?\DateTimeInterface $datePublish): self { $this->datePublish = $datePublish; return $this; } public function getStatus(): ?int { return $this->status; } public function setStatus(?int $status): self { $this->status = $status; return $this; }}