示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSageProdutos()
 {
     return $this->hasMany(SageProduto::className(), ['id_fornecedor' => 'id']);
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSageProdutos0()
 {
     return $this->hasMany(SageProduto::className(), ['id_subcategoria2' => 'id']);
 }