<?php

namespace App\Domains\UserManagement\Actions\UserRegistration;

use App\ValueObjects\EmailAddress;

class UserRegistrationRequest {
    public string $firstname;
    public string $lastname;
    public EmailAddress $email;
    public string $nickname;
    public string $userRoleMain;
    public string $userRoleLocalGroup;
    public string $localGroup;

    public function __construct(string $firstname, string $lastname, string $nickname, EmailAddress $email, string $userRoleMain, string $userRoleLocalGroup, string $localGroup) {
        $this->firstname = $firstname;
        $this->lastname = $lastname;
        $this->nickname = $nickname;
        $this->email = $email;
        $this->userRoleMain = $userRoleMain;
        $this->userRoleLocalGroup = $userRoleLocalGroup;
        $this->localGroup = $localGroup;
    }
}
