WIP: Implement application process
This commit is contained in:
@@ -94,25 +94,25 @@ class Teamer implements TimestampableEntityInterface
|
||||
#[Assert\NotNull(message: 'Bitte lade ein Foto von dir hoch', groups: ['profile', 'profile_preflight'])]
|
||||
private ?Upload $photo = null;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Feedback::class)]
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Feedback::class, cascade: ['remove'])]
|
||||
private Collection $feedback;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: TrainingAttendance::class)]
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: TrainingAttendance::class, cascade: ['remove'])]
|
||||
private Collection $trainingAttendances;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: License::class)]
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: License::class, cascade: ['remove'])]
|
||||
private Collection $licenses;
|
||||
|
||||
#[ORM\ManyToMany(targetEntity: JobProfile::class)]
|
||||
#[ORM\ManyToMany(targetEntity: JobProfile::class, orphanRemoval: true)]
|
||||
private Collection $jobProfiles;
|
||||
|
||||
#[ORM\ManyToMany(targetEntity: Assignment::class)]
|
||||
#[ORM\ManyToMany(targetEntity: Assignment::class, inversedBy: 'teamers', orphanRemoval: true)]
|
||||
private Collection $bookmarks;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Application::class)]
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Application::class, cascade: ['remove'])]
|
||||
private Collection $applications;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Disposition::class)]
|
||||
#[ORM\OneToMany(mappedBy: 'teamer', targetEntity: Disposition::class, cascade: ['remove'])]
|
||||
private Collection $dispositions;
|
||||
|
||||
#[ORM\OneToOne(mappedBy: 'teamer')]
|
||||
|
||||
Reference in New Issue
Block a user