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

19 lines
320B

  1. <?php
  2. namespace App\Models;
  3. use CodeIgniter\Model;
  4. class PrestadorModel extends Model
  5. {
  6. protected $table = 'prestador';
  7. protected $primaryKey = 'idprestador';
  8. protected $useTimestamps = false;
  9. function getPrestador($id = null)
  10. {
  11. return $this->where('idprestador', $id)->first();
  12. }
  13. }