log historial

This commit is contained in:
Felipe
2024-03-01 08:05:52 -05:00
parent a13d666c95
commit 6c760652f6
7 changed files with 231 additions and 116 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Log_historial extends Model
{
use HasFactory;
protected $table = 'log_historial';
protected $fillable = [
'user_id',
'detalle'
];
public function user()
{
return $this->belongsTo(User::class);
}
}