PortfolioModelEnt.php 525 B

1234567891011121314151617181920212223242526272829303132
  1. <?php namespace App\Models;
  2. use CodeIgniter\Database\ConnectionInterface;
  3. use CodeIgniter\Model;
  4. class GalleryModelEnt extends Model
  5. {
  6. protected $table = 'gallery';
  7. protected $primaryKey = 'Id';
  8. protected $allowedFields = ['image','imageTitle','slug'];
  9. protected $limit;
  10. protected $offset;
  11. protected $Id;
  12. protected $imageTitle;
  13. protected $slug;
  14. protected $category;
  15. protected $info;
  16. protected $returnType = 'App\Entities\GalleryItem';
  17. protected $useTimestamps = true;
  18. }