tethys/app/Models/MimeType.php

18 lines
381 B
PHP
Raw Normal View History

2019-04-02 16:03:29 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
2019-04-02 16:03:29 +00:00
class MimeType extends Model
{
use HasFactory;
2019-04-02 16:03:29 +00:00
protected $table = 'mime_types';
// for using $input = $request->all();
//$project = Project::create($input);
protected $fillable = [
'name', 'file_extension', 'enabled',
];
}