BillingIntangibleExcludeDate.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Billing;
  4. use App\Entity\Product\EquipmentLoan;
  5. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8. * Classe ... qui ...
  9. */
  10. #[Auditable]
  11. #[ORM\Entity]
  12. class BillingIntangibleExcludeDate
  13. {
  14. #[ORM\Id]
  15. #[ORM\Column]
  16. #[ORM\GeneratedValue]
  17. private ?int $id = null;
  18. #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'billingIntangibleExcludeDates')]
  19. private AccessIntangible $accessIntangible;
  20. #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'billingIntangibleExcludeDates')]
  21. private AccessFictionalIntangible $accessFictionalIntangible;
  22. #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'billingIntangibleExcludeDates')]
  23. private EducationalProjectIntangible $educationalProjectIntangible;
  24. #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'billingIntangibleExcludeDates')]
  25. private EquipmentLoan $equipmentLoan;
  26. #[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'billingIntangibleExcludeDates')]
  27. private Bill $bill;
  28. public function getId(): ?int
  29. {
  30. return $this->id;
  31. }
  32. public function getAccessIntangible(): ?AccessIntangible
  33. {
  34. return $this->accessIntangible;
  35. }
  36. public function setAccessIntangible(?AccessIntangible $accessIntangible): self
  37. {
  38. $this->accessIntangible = $accessIntangible;
  39. return $this;
  40. }
  41. public function getAccessFictionalIntangible(): ?AccessFictionalIntangible
  42. {
  43. return $this->accessFictionalIntangible;
  44. }
  45. public function setAccessFictionalIntangible(?AccessFictionalIntangible $accessFictionalIntangible): self
  46. {
  47. $this->accessFictionalIntangible = $accessFictionalIntangible;
  48. return $this;
  49. }
  50. public function getEducationalProjectIntangible(): ?EducationalProjectIntangible
  51. {
  52. return $this->educationalProjectIntangible;
  53. }
  54. public function setEducationalProjectIntangible(?EducationalProjectIntangible $educationalProjectIntangible): self
  55. {
  56. $this->educationalProjectIntangible = $educationalProjectIntangible;
  57. return $this;
  58. }
  59. public function getEquipmentLoan(): ?EquipmentLoan
  60. {
  61. return $this->equipmentLoan;
  62. }
  63. public function setEquipmentLoan(?EquipmentLoan $equipmentLoan): self
  64. {
  65. $this->equipmentLoan = $equipmentLoan;
  66. return $this;
  67. }
  68. public function getBill(): ?Bill
  69. {
  70. return $this->bill;
  71. }
  72. public function setBill(?Bill $bill): self
  73. {
  74. $this->bill = $bill;
  75. return $this;
  76. }
  77. }