mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-10-11 02:36:50 +02:00
c72f4be6d8
fix some style issues
56 lines
824 B
PHP
56 lines
824 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Support\Models;
|
|
|
|
use CodeIgniter\Model;
|
|
|
|
class ExampleModel extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $table = 'factories';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'id';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $returnType = 'object';
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $useSoftDeletes = false;
|
|
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
protected $allowedFields = ['name', 'uid', 'class', 'icon', 'summary'];
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $useTimestamps = true;
|
|
|
|
/**
|
|
* @var mixed[]
|
|
*/
|
|
protected $validationRules = [];
|
|
|
|
/**
|
|
* @var mixed[]
|
|
*/
|
|
protected $validationMessages = [];
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
protected $skipValidation = false;
|
|
}
|