eledana/app/Models/Fault.php
albert 610eebf66a
All checks were successful
Build, push and deploy / builds (push) Successful in 5s
add faults (routes, model, navigation, seeder and migration)
2024-11-08 16:39:01 +01:00

31 lines
646 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Notifications\Notifiable;
use Spatie\Permission\Traits\HasRoles;
class Fault extends Model
{
use HasFactory, Notifiable;
use HasRoles;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'contact_name',
'contact_phone',
'description',
'address',
'status',
'google_maps_link',
'city',
];
}