<?php

namespace App\Models;

use CodeIgniter\Model;

class CardModel extends Model
{
    protected $table      = 'cards';
    protected $primaryKey = 'id';

    protected $useAutoIncrement = true;

    protected $returnType     = 'array';
    //protected $useSoftDeletes = true;

    protected $allowedFields = ['name', 'filename'];

    protected bool $allowEmptyInserts = false;
    protected bool $updateOnlyChanged = true;
}