Files
hoshpoint-backend/app/Enums/NotificationType.php
soheil khaledabadi ae974c2afa feat: add ApiResponse trait for standardized API responses
chore: update composer dependencies to include phppresentation

chore: update composer.lock after adding phppresentation

feat: create categories migration for category management

feat: create templates migration for template storage

feat: create template generations migration for tracking template usage

feat: create template keys migration for template customization

feat: create notifications migration for user notifications

feat: update API routes for categories, templates, and user profile management

docs: update API documentation to include new endpoints for profile and wallet
2026-07-07 01:03:12 +03:30

20 lines
373 B
PHP

<?php
namespace App\Enums;
enum NotificationType: string
{
case System = 'system';
case Wallet = 'wallet';
case Template = 'template';
public function label(): string
{
return match ($this) {
self::System => 'سیستمی',
self::Wallet => 'کیف پول',
self::Template => 'قالب',
};
}
}