/** * @return \yii\db\ActiveQuery */ public function getMonitoringKacamatas() { return $this->hasMany(MonitoringKacamata::className(), ['hak_kacamata_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getMonitoringKacamatas() { return $this->hasMany(MonitoringKacamata::className(), ['nikkes' => 'nikkes']); }