public function __construct($id, Module $module, array $config = []) { parent::__construct($id, $module, $config); $this->disease = new Disease(); $this->symptom = new Symptom(); $this->department = new Department(); $this->part = new Part(); }