src/Entity/CRM/TranscriptionMetrics.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\CRM\TranscriptionMetricsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTranscriptionMetricsRepository::class)]
  7. class TranscriptionMetrics
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name null;
  15.     #[ORM\Column]
  16.     private ?int $weight null;
  17.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  18.     private ?string $description null;
  19.     #[ORM\Column]
  20.     private ?bool $isActive null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getName(): ?string
  26.     {
  27.         return $this->name;
  28.     }
  29.     public function setName(string $name): static
  30.     {
  31.         $this->name $name;
  32.         return $this;
  33.     }
  34.     public function getWeight(): ?int
  35.     {
  36.         return $this->weight;
  37.     }
  38.     public function setWeight(int $weight): static
  39.     {
  40.         $this->weight $weight;
  41.         return $this;
  42.     }
  43.     public function getDescription(): ?string
  44.     {
  45.         return $this->description;
  46.     }
  47.     public function setDescription(?string $description): static
  48.     {
  49.         $this->description $description;
  50.         return $this;
  51.     }
  52.     public function isIsActive(): ?bool
  53.     {
  54.         return $this->isActive;
  55.     }
  56.     public function setIsActive(bool $isActive): static
  57.     {
  58.         $this->isActive $isActive;
  59.         return $this;
  60.     }
  61. }