<?php

namespace App\Models;

use CodeIgniter\Model;

class InspectionAttachmentModel extends Model
{
    protected $table = 'inspection_attachments';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useAutoIncrement = true;
    protected $protectFields = true;
    protected $allowedFields = ['inspection_id', 'item_id', 'file_path', 'mime', 'size'];
    protected $useTimestamps = true;
    protected $updatedField = '';
}
