feat: extend job-profile and feedback entities for future statistics
This commit is contained in:
1 parent
149d793fa1
commit
9400b78a9f
8 files changed
+237
-1
No files matched your search
@@ -22,7 +22,10 @@ class JobProfile implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
|
||||
public const CATEGORY_GUIDE = 'guide';
|
||||
public const CATEGORY_COURSE = 'course';
|
||||
public const CATEGORY_COURSE_SKI = 'course_ski';
|
||||
public const CATEGORY_COURSE_BOARD = 'course_board';
|
||||
public const CATEGORY_SERVICE = 'service';
|
||||
public const CATEGORY_EVENT_TEAM = 'event_team';
|
||||
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue]
|
||||
@@ -99,7 +102,10 @@ class JobProfile implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
return match ($this->category) {
|
||||
static::CATEGORY_GUIDE => 'Reiseleitung',
|
||||
static::CATEGORY_COURSE => 'Kursleitung',
|
||||
static::CATEGORY_COURSE_SKI => 'Kursleitung Ski',
|
||||
static::CATEGORY_COURSE_BOARD => 'Kursleitung Board',
|
||||
static::CATEGORY_SERVICE => 'Serviceteam',
|
||||
static::CATEGORY_EVENT_TEAM => 'Eventteam',
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user