コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockcenterHasDarsenas()
 {
     return $this->hasMany(StockcenterHasDarsena::className(), ['Darsena_idDarsena' => 'idDarsena', 'Darsena_DarsenaEstado_idDarsenaEstado' => 'DarsenaEstado_idDarsenaEstado']);
 }
コード例 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockcenterHasDarsenas()
 {
     return $this->hasMany(StockcenterHasDarsena::className(), ['StockCenter_idStockCenter' => 'idStockCenter']);
 }