src/Entity/PayrollExport.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PayrollExportRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Timestampable\Traits\TimestampableEntity;
  6. #[ORM\Entity(repositoryClassPayrollExportRepository::class)]
  7. class PayrollExport
  8. {
  9.     use TimestampableEntity;
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne]
  15.     #[ORM\JoinColumn(nullablefalse)]
  16.     private ?PaymentPeriod $paymentPeriod null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $fileName null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $userFileName null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getPaymentPeriod(): ?PaymentPeriod
  26.     {
  27.         return $this->paymentPeriod;
  28.     }
  29.     public function setPaymentPeriod(?PaymentPeriod $paymentPeriod): self
  30.     {
  31.         $this->paymentPeriod $paymentPeriod;
  32.         return $this;
  33.     }
  34.     public function getFileName(): ?string
  35.     {
  36.         return $this->fileName;
  37.     }
  38.     public function setFileName(string $fileName): self
  39.     {
  40.         $this->fileName $fileName;
  41.         return $this;
  42.     }
  43.     public function getUserFileName(): ?string
  44.     {
  45.         return $this->userFileName;
  46.     }
  47.     public function setUserFileName(?string $userFileName): self
  48.     {
  49.         $this->userFileName $userFileName;
  50.         return $this;
  51.     }
  52. }