src/Entity/GHPerfilCargoSST.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHPerfilCargoSSTRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassGHPerfilCargoSSTRepository::class)]
  7. class GHPerfilCargoSST
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  14.     private ?string $condicionesFisicas null;
  15.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  16.     private ?string $condicionesMentales null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $riesgosLaborales null;
  19.     #[ORM\ManyToOne(inversedBy'perfilCargoSST')]
  20.     private ?GHPerfilCargo $gHPerfilCargo null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $createUser null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  24.     private ?\DateTimeInterface $createAt null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $updateUser null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  28.     private ?\DateTimeInterface $updateAt null;
  29.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  30.     private ?string $peligro null;
  31.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  32.     private ?string $riesgo null;
  33.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  34.     private ?string $medidasControl null;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getCondicionesFisicas(): ?string
  40.     {
  41.         return $this->condicionesFisicas;
  42.     }
  43.     public function setCondicionesFisicas(?string $condicionesFisicas): static
  44.     {
  45.         $this->condicionesFisicas $condicionesFisicas;
  46.         return $this;
  47.     }
  48.     public function getCondicionesMentales(): ?string
  49.     {
  50.         return $this->condicionesMentales;
  51.     }
  52.     public function setCondicionesMentales(?string $condicionesMentales): static
  53.     {
  54.         $this->condicionesMentales $condicionesMentales;
  55.         return $this;
  56.     }
  57.     public function getRiesgosLaborales(): ?string
  58.     {
  59.         return $this->riesgosLaborales;
  60.     }
  61.     public function setRiesgosLaborales(?string $riesgosLaborales): static
  62.     {
  63.         $this->riesgosLaborales $riesgosLaborales;
  64.         return $this;
  65.     }
  66.     public function getGHPerfilCargo(): ?GHPerfilCargo
  67.     {
  68.         return $this->gHPerfilCargo;
  69.     }
  70.     public function setGHPerfilCargo(?GHPerfilCargo $gHPerfilCargo): static
  71.     {
  72.         $this->gHPerfilCargo $gHPerfilCargo;
  73.         return $this;
  74.     }
  75.     public function getCreateUser(): ?string
  76.     {
  77.         return $this->createUser;
  78.     }
  79.     public function setCreateUser(string $createUser): static
  80.     {
  81.         $this->createUser $createUser;
  82.         return $this;
  83.     }
  84.     public function getCreateAt(): ?\DateTimeInterface
  85.     {
  86.         return $this->createAt;
  87.     }
  88.     public function setCreateAt(\DateTimeInterface $createAt): static
  89.     {
  90.         $this->createAt $createAt;
  91.         return $this;
  92.     }
  93.     public function getUpdateUser(): ?string
  94.     {
  95.         return $this->updateUser;
  96.     }
  97.     public function setUpdateUser(string $updateUser): static
  98.     {
  99.         $this->updateUser $updateUser;
  100.         return $this;
  101.     }
  102.     public function getUpdateAt(): ?\DateTimeInterface
  103.     {
  104.         return $this->updateAt;
  105.     }
  106.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  107.     {
  108.         $this->updateAt $updateAt;
  109.         return $this;
  110.     }
  111.     public function getPeligro(): ?string
  112.     {
  113.         return $this->peligro;
  114.     }
  115.     public function setPeligro(?string $peligro): static
  116.     {
  117.         $this->peligro $peligro;
  118.         return $this;
  119.     }
  120.     public function getRiesgo(): ?string
  121.     {
  122.         return $this->riesgo;
  123.     }
  124.     public function setRiesgo(?string $riesgo): static
  125.     {
  126.         $this->riesgo $riesgo;
  127.         return $this;
  128.     }
  129.     public function getMedidasControl(): ?string
  130.     {
  131.         return $this->medidasControl;
  132.     }
  133.     public function setMedidasControl(?string $medidasControl): static
  134.     {
  135.         $this->medidasControl $medidasControl;
  136.         return $this;
  137.     }
  138. }