use Rapsys\UserBundle\Entity\Civility;
use Rapsys\UserBundle\Entity\User as BaseUser;
+/**
+ * {@inheritdoc}
+ */
class User extends BaseUser {
/**
* City
*/
- private ?string $city;
+ private ?string $city = null;
/**
- * Phone
+ * Country
*/
- private ?string $phone;
+ private ?Country $country = null;
/**
- * Country
+ * Phone
*/
- private ?Country $country;
+ private ?string $phone = null;
/**
* Pseudonym
*/
- private ?string $pseudonym;
+ private ?string $pseudonym = null;
/**
* Zipcode
*/
- private ?string $zipcode;
+ private ?string $zipcode = null;
/**
* Applications collection
//Call parent constructor
parent::__construct($this->mail, $this->password, $this->civility, $this->forename, $this->surname, $this->active, $this->enable);
- //Set defaults
- $this->city = null;
- $this->country = null;
- $this->phone = null;
- $this->pseudonym = null;
- $this->zipcode = null;
-
//Set collections
$this->applications = new ArrayCollection();
$this->dances = new ArrayCollection();