예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getChainedJournal()
 {
     return $this->hasOne(StockJournal::className(), ['id' => 'chained_journal_id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStockJournal()
 {
     return $this->hasOne(StockJournal::className(), ['id' => 'stock_journal_id']);
 }