- Introduced `is_unlimited` field in `app_roles` table to support roles with unlimited duration. - Enhanced front-end and back-end implementations to manage unlimited roles, including UI updates and validation. - Refactored `KekaOutlookController` and `KekaOutlookService` for streamlined exception handling and code consistency. - Applied linting and formatting improvements across updated files.
19 lines
341 B
PHP
19 lines
341 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Role;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class AssignAppsToRoleData extends Data
|
|
{
|
|
public function __construct(
|
|
public int $roleId,
|
|
public string $validUpto,
|
|
/** @var int[] */
|
|
public array $appIds,
|
|
public bool $isUnlimited = false,
|
|
) {}
|
|
}
|