mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
модуль Задания(почти готов)
This commit is contained in:
13
app/Models/TaskFile.php
Normal file
13
app/Models/TaskFile.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TaskFile extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'task_files';
|
||||
protected $fillable = ['name', 'type', 'extension', 'url', 'task_id'];
|
||||
}
|
||||
Reference in New Issue
Block a user