/** * @return \yii\db\ActiveQuery */ public function getDetallemats() { return $this->hasMany(Detallemat::className(), ['idMatricula' => 'idMatricula']); }
/** * @return \yii\db\ActiveQuery */ public function getDetallemats() { return $this->hasMany(Detallemat::className(), ['idGrupo' => 'idGrupo']); }