file and some fix

This commit is contained in:
2023-06-21 17:22:35 +03:00
parent 2fd90cd65a
commit f861f3eea9
7 changed files with 377 additions and 3 deletions

View File

@ -71,4 +71,21 @@ class File extends \yii\db\ActiveRecord
'status' => 'Status',
];
}
/**
* @return string[]
*/
public function fields(): array
{
return [
'id',
'name',
'created_at',
'updated_at',
'url',
'type',
'mime-type',
'status',
];
}
}