public function __construct($genderType = null, $id = null, $type = null, $CriterionType = null) { parent::__construct(); $this->genderType = $genderType; $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; }