İlk temizlik tamamlandı bir önceki projeden

This commit is contained in:
Ümit Tunç
2026-04-28 21:14:25 +03:00
commit f80443aec0
10000 changed files with 959965 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class InspectionHistory extends Model
{
use HasFactory;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'inspection_history';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'table_name',
'record_id',
'column_name',
'comment',
'file_path',
'file_name',
'file_size',
'user_id',
'ip_address',
];
/**
* Get the user that created the inspection history.
*/
public function user()
{
return $this->belongsTo(User::class);
}
}