<?php

declare(strict_types=1);

namespace App\Models;

use CodeIgniter\Model;

/**
 * 사용자 의견 첨부 이미지(캡처/업로드).
 */
class FeedbackFileModel extends Model
{
    use \App\Models\Traits\Auditable;

    protected $table         = 'feedback_file';
    protected $primaryKey    = 'ff_idx';
    protected $returnType    = 'object';
    protected $useTimestamps = true;
    protected $createdField  = 'ff_regdate';
    protected $updatedField  = '';
    protected $dateFormat    = 'datetime';

    protected $allowedFields = ['ff_fb_idx', 'ff_kind', 'ff_path', 'ff_mime'];
}
