コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStageareaHasPallets()
 {
     return $this->hasMany(StageareaHasPallet::className(), ['Pallet_idPallet' => 'idPallet']);
 }
コード例 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStageareaHasPallets()
 {
     return $this->hasMany(StageareaHasPallet::className(), ['StageArea_idStageArea' => 'idStageArea', 'StageArea_TipoStageArea_idTipoStageArea' => 'TipoStageArea_idTipoStageArea']);
 }