<?php
namespace App\Entity\Documentation;
use App\Repository\Documentation\MasterGuideHouseInfoRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=MasterGuideHouseInfoRepository::class)
* @ORM\Table(name="documentation_master_guide_info")
*/
class MasterGuideHouseInfo
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=MasterGuide::class, inversedBy="masterGuideHouseInfos")
* @ORM\JoinColumn(nullable=false)
*/
private $masterGuide;
/**
* @ORM\ManyToOne(targetEntity=HouseGuide::class, inversedBy="masterGuideHouseInfos")
* @ORM\JoinColumn(nullable=false)
*/
private $houseGuide;
/**
* @ORM\Column(type="string", length=255)
*/
private $rateClass;
public function getId(): ?int
{
return $this->id;
}
public function getMasterGuide(): ?MasterGuide
{
return $this->masterGuide;
}
public function setMasterGuide(?MasterGuide $masterGuide): self
{
$this->masterGuide = $masterGuide;
return $this;
}
public function getHouseGuide(): ?HouseGuide
{
return $this->houseGuide;
}
public function setHouseGuide(?HouseGuide $houseGuide): self
{
$this->houseGuide = $houseGuide;
return $this;
}
public function getRateClass(): ?string
{
return $this->rateClass;
}
public function setRateClass(string $rateClass): self
{
$this->rateClass = $rateClass;
return $this;
}
}