/** * @return \yii\db\ActiveQuery */ public function getGudang() { return $this->hasOne(Gudang::className(), ['Gudang_ID' => 'Gudang_ID']); }