Files
kartoteka/app/Models/ArchiveHistory.php
2025-11-30 23:04:45 +09:00

24 lines
394 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ArchiveHistory extends Model
{
protected $fillable = [
'historyable_type',
'historyable_id',
'issue_at',
'return_at',
'name_org',
'employee_name',
'employee_position',
];
public function historyable()
{
return $this->morphTo();
}
}