26 lines
550 B
PHP
26 lines
550 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
// use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||
|
use Illuminate\Notifications\Notifiable;
|
||
|
use Laravel\Sanctum\HasApiTokens;
|
||
|
|
||
|
class Image extends Authenticatable
|
||
|
{
|
||
|
use HasApiTokens, HasFactory, Notifiable;
|
||
|
|
||
|
protected $guarded = false;
|
||
|
protected $table = 'image';
|
||
|
protected $fillable = [
|
||
|
'id',
|
||
|
'name',
|
||
|
'url_image',
|
||
|
'article'
|
||
|
//'category_image'
|
||
|
];
|
||
|
|
||
|
}
|