<?php 
namespace App\Models;

use App\Models\BaseModel;

class UserTypesModel extends BaseModel
{
    protected $table      = 'tbl_user_types';
    protected $primaryKey = 'user_type_id';

    protected $returnType     = 'array';
    protected $useSoftDeletes = false;

    protected $allowedFields = [
        'user_type_name', 'created_by', 'updated_by'
    ];

    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
   
    protected $validationRules    = [];
    protected $validationMessages = [];
    protected $skipValidation     = false;

    const USER_TYPE_SUPER_ADMIN = 1;
    const USER_TYPE_ADMIN       = 2;
    const USER_TYPE_EMPLOYEE    = 3;
    const USER_TYPE_CANDIDATE   = 4;
    const USER_TYPE_CLIENT     = 5;

    const USER_ID_SUPER_ADMIN = 1;
    const USER_ID_ADMIN       = 2;

}