Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBlok()
 {
     return $this->hasOne(Blok::className(), ['Blok_ID' => 'Blok_ID']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBloks()
 {
     return $this->hasMany(Blok::className(), ['Gudang_ID' => 'Gudang_ID']);
 }