reports extract

This commit is contained in:
2024-04-03 18:31:17 +03:00
parent 28f9f3a87e
commit a27c8a933e
7 changed files with 734 additions and 65 deletions

View File

@ -68,7 +68,15 @@ class ReportsTask extends \yii\db\ActiveRecord
/**
* @return \yii\db\ActiveQuery
*/
public function getReport()
public function getReport(): \yii\db\ActiveQuery
{
return $this->hasOne(Reports::className(), ['id' => 'report_id']);
}
/**
* @return \yii\db\ActiveQuery
*/
public function getReports(): \yii\db\ActiveQuery
{
return $this->hasOne(Reports::className(), ['id' => 'report_id']);
}