src/Entity/SecMensaje.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SecMensajeRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSecMensajeRepository::class)]
  7. class SecMensaje
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column]
  14.     private ?int $tipo null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $titulo null;
  17.     #[ORM\Column(typeTypes::TEXT)]
  18.     private ?string $descripcion null;
  19.     #[ORM\ManyToOne(inversedBy'mensajes')]
  20.     private ?ParProceso $proceso null;
  21.     #[ORM\ManyToOne(inversedBy'mensajes')]
  22.     private ?TerPersona $colaborador null;
  23.     #[ORM\ManyToOne(inversedBy'mensajes')]
  24.     private ?GHPerfilCargo $perfilCargo null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?bool $leido null;
  27.     #[ORM\ManyToOne(inversedBy'mensajes')]
  28.     private ?ParEstado $estado null;
  29.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  30.     private ?\DateTimeInterface $createAt null;
  31.     #[ORM\Column(length100)]
  32.     private ?string $createUser null;
  33.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  34.     private ?\DateTimeInterface $updateAt null;
  35.     #[ORM\Column(length100)]
  36.     private ?string $updateUser null;
  37.     #[ORM\ManyToOne(inversedBy'remitenteMensaje')]
  38.     private ?TerPersona $remitente null;
  39.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  40.     private ?\DateTimeInterface $fechaProgramada null;
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45.     public function getTipo(): ?int
  46.     {
  47.         return $this->tipo;
  48.     }
  49.     public function setTipo(int $tipo): static
  50.     {
  51.         $this->tipo $tipo;
  52.         return $this;
  53.     }
  54.     public function getTitulo(): ?string
  55.     {
  56.         return $this->titulo;
  57.     }
  58.     public function setTitulo(string $titulo): static
  59.     {
  60.         $this->titulo $titulo;
  61.         return $this;
  62.     }
  63.     public function getDescripcion(): ?string
  64.     {
  65.         return $this->descripcion;
  66.     }
  67.     public function setDescripcion(string $descripcion): static
  68.     {
  69.         $this->descripcion $descripcion;
  70.         return $this;
  71.     }
  72.     public function getProceso(): ?ParProceso
  73.     {
  74.         return $this->proceso;
  75.     }
  76.     public function setProceso(?ParProceso $proceso): static
  77.     {
  78.         $this->proceso $proceso;
  79.         return $this;
  80.     }
  81.     public function getColaborador(): ?TerPersona
  82.     {
  83.         return $this->colaborador;
  84.     }
  85.     public function setColaborador(?TerPersona $colaborador): static
  86.     {
  87.         $this->colaborador $colaborador;
  88.         return $this;
  89.     }
  90.     public function getPerfilCargo(): ?GHPerfilCargo
  91.     {
  92.         return $this->perfilCargo;
  93.     }
  94.     public function setPerfilCargo(?GHPerfilCargo $perfilCargo): static
  95.     {
  96.         $this->perfilCargo $perfilCargo;
  97.         return $this;
  98.     }
  99.     public function isLeido(): ?bool
  100.     {
  101.         return $this->leido;
  102.     }
  103.     public function setLeido(?bool $leido): static
  104.     {
  105.         $this->leido $leido;
  106.         return $this;
  107.     }
  108.     public function getEstado(): ?ParEstado
  109.     {
  110.         return $this->estado;
  111.     }
  112.     public function setEstado(?ParEstado $estado): static
  113.     {
  114.         $this->estado $estado;
  115.         return $this;
  116.     }
  117.     public function getCreateAt(): ?\DateTimeInterface
  118.     {
  119.         return $this->createAt;
  120.     }
  121.     public function setCreateAt(\DateTimeInterface $createAt): static
  122.     {
  123.         $this->createAt $createAt;
  124.         return $this;
  125.     }
  126.     public function getCreateUser(): ?string
  127.     {
  128.         return $this->createUser;
  129.     }
  130.     public function setCreateUser(string $createUser): static
  131.     {
  132.         $this->createUser $createUser;
  133.         return $this;
  134.     }
  135.     public function getUpdateAt(): ?\DateTimeInterface
  136.     {
  137.         return $this->updateAt;
  138.     }
  139.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  140.     {
  141.         $this->updateAt $updateAt;
  142.         return $this;
  143.     }
  144.     public function getUpdateUser(): ?string
  145.     {
  146.         return $this->updateUser;
  147.     }
  148.     public function setUpdateUser(string $updateUser): static
  149.     {
  150.         $this->updateUser $updateUser;
  151.         return $this;
  152.     }
  153.     public function getRemitente(): ?TerPersona
  154.     {
  155.         return $this->remitente;
  156.     }
  157.     public function setRemitente(?TerPersona $remitente): static
  158.     {
  159.         $this->remitente $remitente;
  160.         return $this;
  161.     }
  162.     public function getFechaProgramada(): ?\DateTimeInterface
  163.     {
  164.         return $this->fechaProgramada;
  165.     }
  166.     public function setFechaProgramada(?\DateTimeInterface $fechaProgramada): static
  167.     {
  168.         $this->fechaProgramada $fechaProgramada;
  169.         return $this;
  170.     }
  171. }