Goal-Calibration/app/Auth/CreateSessionDto.php

15 lines
269 B
PHP

<?php
namespace App\Auth;
use DateTimeImmutable;
class CreateSessionDto
{
public function __construct(
public string $token,
public int $userId,
public DateTimeImmutable $createdAt,
public DateTimeImmutable $expiresAt,
) {}
}