|
|
@@ -54,6 +54,10 @@ class AccessProfile
|
|
|
* @Groups({"access_profile_read"})
|
|
|
*/
|
|
|
private $roles = [];
|
|
|
+ /**
|
|
|
+ * @Groups({"access_profile_read"})
|
|
|
+ */
|
|
|
+ private $activityYear;
|
|
|
/**
|
|
|
* @Groups({"access_profile_read"})
|
|
|
*/
|
|
|
@@ -142,7 +146,7 @@ class AccessProfile
|
|
|
return $this->gender;
|
|
|
}
|
|
|
|
|
|
- public function setGender($gender): self
|
|
|
+ public function setGender(?string $gender): self
|
|
|
{
|
|
|
$this->gender = $gender;
|
|
|
return $this;
|
|
|
@@ -153,7 +157,7 @@ class AccessProfile
|
|
|
return $this->avatarId;
|
|
|
}
|
|
|
|
|
|
- public function setAvatarId(int $avatarId): self
|
|
|
+ public function setAvatarId(?int $avatarId): self
|
|
|
{
|
|
|
$this->avatarId = $avatarId;
|
|
|
return $this;
|
|
|
@@ -226,4 +230,16 @@ class AccessProfile
|
|
|
$this->originalAccess = $originalAccess;
|
|
|
return $this;
|
|
|
}
|
|
|
+
|
|
|
+ public function getActivityYear(): int
|
|
|
+ {
|
|
|
+ return $this->activityYear;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function setActivityYear(int $activityYear): self
|
|
|
+ {
|
|
|
+ $this->activityYear = $activityYear;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
}
|