src/Entity/QuoteLines.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\QuoteLinesRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClass: QuoteLinesRepository::class)]
  7. class QuoteLines
  8. {
  9. #[ORM\Id]
  10. #[ORM\GeneratedValue]
  11. #[ORM\Column]
  12. private ?int $id = null;
  13. #[ORM\Column(length: 512)]
  14. private ?string $line = null;
  15. #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  16. private ?\DateTimeInterface $created = null;
  17. #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
  18. private ?\DateTimeInterface $updated = null;
  19. public function getId(): ?int
  20. {
  21. return $this->id;
  22. }
  23. public function getLine(): ?string
  24. {
  25. return $this->line;
  26. }
  27. public function setLine(string $line): static
  28. {
  29. $this->line = $line;
  30. return $this;
  31. }
  32. public function getCreated(): ?\DateTimeInterface
  33. {
  34. return $this->created;
  35. }
  36. public function setCreated(?\DateTimeInterface $created): static
  37. {
  38. $this->created = $created;
  39. return $this;
  40. }
  41. public function getUpdated(): ?\DateTimeInterface
  42. {
  43. return $this->updated;
  44. }
  45. public function setUpdated(?\DateTimeInterface $updated): static
  46. {
  47. $this->updated = $updated;
  48. return $this;
  49. }
  50. }