25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
554B

  1. <?php
  2. namespace Tests\Support\Models;
  3. use CodeIgniter\Model;
  4. class ExampleModel extends Model
  5. {
  6. protected $table = 'factories';
  7. protected $primaryKey = 'id';
  8. protected $returnType = 'object';
  9. protected $useSoftDeletes = false;
  10. protected $allowedFields = [
  11. 'name',
  12. 'uid',
  13. 'class',
  14. 'icon',
  15. 'summary',
  16. ];
  17. protected $useTimestamps = true;
  18. protected $validationRules = [];
  19. protected $validationMessages = [];
  20. protected $skipValidation = false;
  21. }