mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 09:34:59 +00:00
Change property on notification entity to type of NotificationEnum
This commit is contained in:
24
src/Bundle/ChillMainBundle/Entity/NotificationEnum.php
Normal file
24
src/Bundle/ChillMainBundle/Entity/NotificationEnum.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\MainBundle\Entity;
|
||||
|
||||
enum NotificationEnum: string
|
||||
{
|
||||
case REFERRER_ACC_COURSE = 'referrer-acc-course-notif';
|
||||
case PERSON_MOVE = 'person-move-notif';
|
||||
case ACC_COURSE_USER = 'acc-course-user-notif';
|
||||
case PERSON_USER = 'person-user-notif';
|
||||
case WORKFLOW_TRANS = 'workflow-trans-notif';
|
||||
case ACC_COURSE_WORK = 'acc-course-work-notif';
|
||||
case ACC_COURSE_WORK_EVAL = 'acc-course-work-eval-notif';
|
||||
case ACTIVITY_USER = 'activity-user-notif';
|
||||
}
|
Reference in New Issue
Block a user