Newer
Older
framework / _support / Models / UserModel.php
@Jim Parry Jim Parry on 1 Mar 2019 316 bytes Release 4.0.0-beta.1
<?php namespace Tests\Support\Models;

use CodeIgniter\Model;

class UserModel extends Model
{
	protected $table = 'user';

	protected $allowedFields = [
		'name',
		'email',
		'country',
		'deleted',
	];

	protected $returnType = 'object';

	protected $useSoftDeletes = true;

	protected $dateFormat = 'integer';
}