예제 #1
0
파일: Productop.php 프로젝트: shino09/hola
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIngresas()
 {
     return $this->hasMany(Ingresa::className(), ['codigoProducto' => 'codigoProducto']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIngresas()
 {
     return $this->hasMany(Ingresa::className(), ['codigoSupervisor' => 'codigoSupervisor']);
 }