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

use CodeIgniter\Model;

class EntityModel extends Model
{
	protected $table = 'job';

	protected $returnType = '\Tests\Support\Models\SimpleEntity';

	protected $useSoftDeletes = false;

	protected $dateFormat = 'datetime';

	protected $allowedFields = [
		'name',
		'description',
		'created_at',
	];
}