todo/app/Models/Note.php

22 lines
349 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
use HasFactory;
protected $fillable = [
'id',
'name',
'description',
'file',
'task_id',
'department_id',
'created_by_id',
];
}