pianello-api/app/Models/Category.php

16 lines
376 B
PHP
Raw Normal View History

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Category extends Model
{
use HasFactory, SoftDeletes;
protected $table = "route_categories";
protected $fillable = ['name_it', 'name_en', 'description_it', 'description_en', 'icon'];
}