src/Entity/ChangeList.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity(repositoryClass"App\Repository\ChangeListRepository")]
  5. #[ORM\Table(name"ChangeList")]
  6. class ChangeList
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type"integer")]
  11.     private $id;
  12.     #[ORM\Column(type"string"length255)]
  13.     private $entityName;
  14.     #[ORM\Column(type"integer")]
  15.     private $changeId;
  16.     #[ORM\Column(type"boolean")]
  17.     private $sent;
  18.     #[ORM\Column(type"string"length255)]
  19.     private $changeType;
  20.     #[ORM\Column(type"string"length255nullabletrue)]
  21.     private $errorText;
  22.     #[ORM\Column]
  23.     private ?int $count null;
  24.     public function getEntityName(): ?string
  25.     {
  26.         return $this->entityName;
  27.     }
  28.     public function setEntityName(string $entityName): self
  29.     {
  30.         $this->entityName $entityName;
  31.         return $this;
  32.     }
  33.     public function getChangeId(): ?int
  34.     {
  35.         return $this->changeId;
  36.     }
  37.     public function setChangeId(int $changeId): self
  38.     {
  39.         $this->changeId $changeId;
  40.         return $this;
  41.     }
  42.     public function isSent(): bool
  43.     {
  44.         return $this->sent;
  45.     }
  46.     public function setSent(bool $sent): self
  47.     {
  48.         $this->sent $sent;
  49.         return $this;
  50.     }
  51.     public function getChangeType(): ?string
  52.     {
  53.         return $this->changeType;
  54.     }
  55.     public function setChangeType(string $changeType): self
  56.     {
  57.         $this->changeType $changeType;
  58.         return $this;
  59.     }
  60.     public function getErrorText(): ?string
  61.     {
  62.         return $this->errorText;
  63.     }
  64.     public function setErrorText(?string $errorText): self
  65.     {
  66.         $this->errorText $errorText;
  67.         return $this;
  68.     }
  69.     public function getCount(): ?int
  70.     {
  71.         return $this->count;
  72.     }
  73.     public function setCount(int $count): static
  74.     {
  75.         $this->count $count;
  76.         return $this;
  77.     }
  78. }