public function factoryUser($user,$password,$name,$group,$role,$status,$email=null,$iduser=null,$extra=[]) {
        $this->user=$user;
        $this->password=$password;
        $this->fullName=$name;
        $this->group=$group;
        $this->role=$role;
        $this->status=$status;
        $this->email=$email;
        $this->iduser=$iduser;
        $this->extraFields=$extra;
    }