<?php

namespace App\Models;

use App\Models\BaseModel;

class UserModel extends BaseModel
{
    protected $table      = 'users';
    protected $primaryKey = 'id';

    // protected $useAutoIncrement = true;

    protected $returnType     = 'object';
    // protected $useSoftDeletes = false;
    
    protected $allowedFields = ['name', 'username', 'email', 'password', 'phone', 'countryid', 'address', 'last_login', 'role', 'reset_token', 'status', 'img_type', 'created_at', 'updated_at', 'preferred_city_id'];

    // protected $useTimestamps = true;
    // protected $createdField  = 'created_at';
    // protected $updatedField  = 'updated_at';

    // protected $validationRules    = [];
    // protected $validationMessages = [];
    // protected $skipValidation     = false;
}
