<?php
namespace App\Form\Model\Security;
use App\Entity\Country;
use App\Entity\UserGroup;
class RegisterModel
{
/**
* @var string
*/
public $firstname;
/**
* @var string
*/
public $lastname;
/**
* @var string
*/
public $email;
/**
* @var string|null
*/
public $emailConfirm;
/**
* @var Country
*/
public $country;
/**
* @var string
*/
public $password;
/**
* @var string
*/
public $passwordRepeat;
/**
* @var bool
*/
public $policy;
/**
* @var string
*/
public $role = UserGroup::ROLE_USER;
/**
* RegisterModel constructor.
* @param Country $country
*/
public function __construct(?Country $country)
{
$this->country = $country;
}
}