<?php
namespace App\Entity;
use App\Repository\IphsBedStrengthRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: IphsBedStrengthRepository::class), ORM\Table(name: 'iphs_bed_strength')]
class IphsBedStrength
{
#[ORM\Id, ORM\GeneratedValue, ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'integer')]
private $maleNumBed;
#[ORM\Column(type: 'integer')]
private $femaleNumBed;
#[ORM\ManyToOne(targetEntity: WardType::class, inversedBy: 'iphsBedStrengths'), ORM\JoinColumn(nullable: false)]
private $wardType;
#[ORM\Column(type: 'string', length: 25)]
private $hospitalType;
#[ORM\Column(type: 'integer')]
private $minBedCapacity;
public function getId(): ?int
{
return $this->id;
}
public function getMaleNumBed(): ?int
{
return $this->maleNumBed;
}
public function setMaleNumBed(int $maleNumBed): self
{
$this->maleNumBed = $maleNumBed;
return $this;
}
public function getFemaleNumBed(): ?int
{
return $this->femaleNumBed;
}
public function setFemaleNumBed(int $femaleNumBed): self
{
$this->femaleNumBed = $femaleNumBed;
return $this;
}
public function getWardType(): ?WardType
{
return $this->wardType;
}
public function setWardType(?WardType $wardType): self
{
$this->wardType = $wardType;
return $this;
}
public function getHospitalType(): ?string
{
return $this->hospitalType;
}
public function setHospitalType(string $hospitalType): self
{
$this->hospitalType = $hospitalType;
return $this;
}
public function getMinBedCapacity(): ?int
{
return $this->minBedCapacity;
}
public function setMinBedCapacity(int $minBedCapacity): self
{
$this->minBedCapacity = $minBedCapacity;
return $this;
}
}