Newer
Older
framework / tests / _support / Models / UserModel.php
@Jim Parry Jim Parry on 25 Jul 2019 387 bytes Release 4.0.0-beta.4
<?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 = '';
}