/
RybakovAV
/
TestProject
Обзор
Документация
Войти
/
RybakovAV
/
TestProject
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/app/Models/ClientsModel.php
46 строк
1 KB
Alex Rybakov
Удаление задачи
11 мар 2026, 17:11
11 мар 2026, 17:11
f8cf693
Код
Авторство
О чём код?
<?php namespace App\Models; use CodeIgniter\Model; class ClientsModel extends Model { protected $table = 'clients'; protected $primaryKey = 'id'; protected $useAutoIncrement = true; protected $returnType = 'array'; protected $useSoftDeletes = false; protected $protectFields = true; protected $allowedFields = []; protected bool $allowEmptyInserts = false; protected bool $updateOnlyChanged = true; protected array $casts = []; protected array $castHandlers = []; // Dates protected $useTimestamps = true; protected $dateFormat = 'datetime'; protected $createdField = 'created_at'; protected $updatedField = 'updated_at'; protected $deletedField = 'deleted_at'; // Validation protected $validationRules = []; protected $validationMessages = []; protected $skipValidation = false; protected $cleanValidationRules = true; // Callbacks protected $allowCallbacks = true; protected $beforeInsert = []; protected $afterInsert = []; protected $beforeUpdate = []; protected $afterUpdate = []; protected $beforeFind = []; protected $afterFind = []; protected $beforeDelete = []; protected $afterDelete = []; }