public function getCorp() { # code... return $this->hasOne(Corp::className(), ['CORP_ID' => 'PRINCIPAL_KD']); }
public function getCorp() { return $this->hasOne(Corp::className(), ['CORP_ID' => 'KD_CORP']); }
public function getCorp() { # code... return $this->hasOne(Corp::className(), ['CORP_ID' => 'PRINCIPAL_KD']); }
public function getCorp() { return $this->hasOne(Corp::className(), ['CORP_ID' => 'KD_CORP']); }