/** * @return \yii\db\ActiveQuery */ public function getCatatanLines() { return $this->hasMany(CatatanLine::className(), ['packing_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getCatatanLines() { return $this->hasMany(CatatanLine::className(), ['product_uom' => 'id']); }