mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
Модуль Задания
This commit is contained in:
@@ -8,6 +8,10 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class BankTaskFile extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'bank_tasks_files';
|
||||
protected $table = 'bank_task_files';
|
||||
protected $fillable = ['name', 'type', 'extension', 'url', 'banktask_id'];
|
||||
|
||||
public function task() {
|
||||
$this->belongsTo(Task::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user