<?php namespace App\Models;
  
use CodeIgniter\Model;
  
class UserinfoModel extends Model{
    protected $table = 'membersuser';
    protected $primaryKey = 'id';

    protected $useAutoIncrement = true;
    protected $returnType = 'array';

    protected $allowedFields = ['fullname','emailaddress','status','password','hospitaltype','hospitaltype','phonenumber','gender','photo','idnumber','dateofbirth','otp','regnumber','lastipaddress','accounttype'];

    protected $useTimestamps = true;


    protected $createdField = 'datecreated';
    protected $updatedField = 'updated_at';
}