/** * @return \yii\db\ActiveQuery */ public function getWorks0() { return $this->hasMany(Work::className(), ['image2' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getWorks() { return $this->hasMany(Work::className(), ['timesheet_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getWorks() { return $this->hasMany(Work::className(), ['process_id' => 'id']); }