status = Status::from($status); return $this; } public function setRole(int $role): self { $this->role = Role::from($role); return $this; } }