Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCatatanLines()
 {
     return $this->hasMany(CatatanLine::className(), ['packing_id' => 'id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCatatanLines()
 {
     return $this->hasMany(CatatanLine::className(), ['product_uom' => 'id']);
 }