<?php namespace Tests\Support\Models; use CodeIgniter\Model; class UserModel extends Model { protected $table = 'user'; protected $allowedFields = [ 'name', 'email', 'country', 'deleted_at', ]; protected $returnType = 'object'; protected $useSoftDeletes = true; protected $dateFormat = 'datetime'; public $name = ''; public $email = ''; public $country = ''; }