|
|
@@ -23,9 +23,6 @@ use Doctrine\ORM\Mapping as ORM;
|
|
|
#[ORM\Table(name: 'Booking')]
|
|
|
class OrganizationHoliday extends AbstractBooking
|
|
|
{
|
|
|
- #[ORM\Column(length: 255, nullable: false)]
|
|
|
- private string $discr = 'organizationholiday';
|
|
|
-
|
|
|
/** @var Collection<int, OrganizationHolidayRecur> */
|
|
|
#[ORM\OneToMany(targetEntity: OrganizationHolidayRecur::class, mappedBy: 'event', cascade: ['persist'], orphanRemoval: true)]
|
|
|
private Collection $eventRecur;
|
|
|
@@ -39,18 +36,6 @@ class OrganizationHoliday extends AbstractBooking
|
|
|
$this->eventRecur = new ArrayCollection();
|
|
|
}
|
|
|
|
|
|
- public function getDiscr(): ?string
|
|
|
- {
|
|
|
- return $this->discr;
|
|
|
- }
|
|
|
-
|
|
|
- public function setDiscr(string $discr): self
|
|
|
- {
|
|
|
- $this->discr = $discr;
|
|
|
-
|
|
|
- return $this;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* @return Collection<int, OrganizationHolidayRecur>
|
|
|
*/
|