feat: image feature added

This commit is contained in:
2025-09-26 11:42:31 +03:30
parent 0b52638e7d
commit 535e73c4c9
6 changed files with 632 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Image extends Model
{
protected $fillable = ['user_id', 'path', 'title', 'description','type',];
public function user() {
return $this->belongsTo(User::class);
}
}