add create session dto

This commit is contained in:
Yisroel Baum 2026-04-24 13:21:28 +03:00
parent 6fbdc82589
commit b37e80147c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

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