|
|
@@ -117,22 +117,22 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
|
|
|
#[ORM\OneToOne(mappedBy: 'access', cascade: ['persist'], orphanRemoval: true)]
|
|
|
private AccessBilling $accessBilling;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonActivity::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonActivity::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $personActivity;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: OrganizationFunction::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: OrganizationFunction::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $organizationFunction;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'licensee', targetEntity: OrganizationLicence::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'licensee', targetEntity: OrganizationLicence::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $organizationLicences;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonalizedList::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonalizedList::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $personalizedLists;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'recipientAccess', targetEntity: Notification::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'recipientAccess', targetEntity: Notification::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $notifications;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: NotificationUser::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: NotificationUser::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $notificationUsers;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: Access::class, mappedBy: 'children', cascade: ['persist'])]
|
|
|
@@ -144,13 +144,13 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
|
|
|
#[ORM\InverseJoinColumn(name: 'children_id', referencedColumnName: 'id')]
|
|
|
private Collection $children;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'accessPayer', targetEntity: AccessPayer::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'accessPayer', targetEntity: AccessPayer::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $billingPayers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'accessReceiver', targetEntity: AccessPayer::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'accessReceiver', targetEntity: AccessPayer::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $billingReceivers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessIntangible::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessIntangible::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $accessIntangibles;
|
|
|
|
|
|
#[ORM\ManyToOne(inversedBy: 'publicationDirectors')]
|
|
|
@@ -161,22 +161,22 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
|
|
|
#[ORM\JoinColumn(referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
|
|
|
private ?EducationNotationConfig $educationNotationConfig;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'company', targetEntity: CompanyPerson::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'company', targetEntity: CompanyPerson::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $companyPersonAccesses;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: CompanyPerson::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: CompanyPerson::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $companyPersonCompany;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: EducationStudent::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: EducationStudent::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $educationStudent;
|
|
|
|
|
|
- #[ORM\ManyToMany(targetEntity: EducationStudent::class, mappedBy: 'teachers', cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\ManyToMany(targetEntity: EducationStudent::class, mappedBy: 'teachers', cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $educationStudentByTeacher;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'teacher', targetEntity: EducationTeacher::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'teacher', targetEntity: EducationTeacher::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $educationTeachers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonHoliday::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: PersonHoliday::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $holidays;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: Course::class, mappedBy: 'students', cascade: ['persist'])]
|
|
|
@@ -201,97 +201,97 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
|
|
|
#[ORM\Column]
|
|
|
private bool $ielEnabled = false;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'educationalProjectPayer', targetEntity: EducationalProjectPayer::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'educationalProjectPayer', targetEntity: EducationalProjectPayer::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $billingEducationalProjectPayers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: Bill::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: Bill::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $bills;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: BillLine::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: BillLine::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $billLines;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: BillCredit::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: BillCredit::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $billCredits;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'silentPartner', targetEntity: EducationalProject::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'silentPartner', targetEntity: EducationalProject::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $silentPartners;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'operationalPartner', targetEntity: EducationalProject::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'operationalPartner', targetEntity: EducationalProject::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $operationalPartners;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'guest', targetEntity: EventUser::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'guest', targetEntity: EventUser::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $eventUsers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'student', targetEntity: ExamenConvocation::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'student', targetEntity: ExamenConvocation::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $examenConvocations;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'provider', targetEntity: EquipmentRepair::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'provider', targetEntity: EquipmentRepair::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipmentRepairProviders;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: Attendance::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: Attendance::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $attendances;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: AttendanceBooking::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: AttendanceBooking::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $attendanceBookings;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'replacement', targetEntity: Attendance::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'replacement', targetEntity: Attendance::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $attendanceReplacements;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'provider', targetEntity: RoomRepair::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'provider', targetEntity: RoomRepair::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $roomRepairProviders;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'provider', targetEntity: PlaceRepair::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'provider', targetEntity: PlaceRepair::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $placeRepairProviders;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Email::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'author', targetEntity: Email::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $emails;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Mail::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'author', targetEntity: Mail::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $mails;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'author', targetEntity: Sms::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'author', targetEntity: Sms::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $sms;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: Jury::class, mappedBy: 'members', orphanRemoval: true)]
|
|
|
private Collection $juryMembers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'contactPerson', targetEntity: Organization::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'contactPerson', targetEntity: Organization::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $organizationContacts;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'member', targetEntity: CommissionMember::class, orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'member', targetEntity: CommissionMember::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $commissionMembers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'supplier', targetEntity: Equipment::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'supplier', targetEntity: Equipment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipmentSuppliers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'controlManager', targetEntity: Equipment::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'controlManager', targetEntity: Equipment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipmentControlManagers;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'editor', targetEntity: Equipment::class)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'editor', targetEntity: Equipment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipmentEditors;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'borrower', targetEntity: EquipmentLoan::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'borrower', targetEntity: EquipmentLoan::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipmentLoans;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: Equipment::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: Equipment::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $equipments;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessFictionalIntangible::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessFictionalIntangible::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $accessFictionalIntangibles;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: Donor::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: Donor::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $donors;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessReward::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: AccessReward::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $accessRewards;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'access', targetEntity: OrganizationResponsability::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'access', targetEntity: OrganizationResponsability::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $organizationResponsabilities;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'accessOriginal', targetEntity: AccessWish::class, cascade: ['persist', 'remove'], fetch: 'EAGER', orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'accessOriginal', targetEntity: AccessWish::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $accessWishes;
|
|
|
|
|
|
- #[ORM\OneToMany(mappedBy: 'student', targetEntity: WorkByUser::class, cascade: ['persist'], orphanRemoval: true)]
|
|
|
+ #[ORM\OneToMany(mappedBy: 'student', targetEntity: WorkByUser::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
private Collection $workByUsers;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: Tagg::class, inversedBy: 'accesses', cascade: ['persist'])]
|