<?php namespace App\Models;
	/******************************************************************************************************************
	 * RPSLS - Rock, Paper, Scissors, Lizard, Spock Game
	 *
	 * @file      app/models/UserModel.php
	 * @package   App\Models
	 * @description
	 *      Model for the User Table.
	 * @author    Rick Hays
	 * @date      11/15/2019
	 * @license   MIT
	 * @copyright Copyright © 2019 - Rick Hays, All Rights Reserved.
	 *
	 * Revisions:
	 * YYYY-MM-DD  XX  Description
	 ******************************************************************************************************************/
	use CodeIgniter\Model;

	class UserModel extends Model
	{
		protected $DBGroup              = 'default';
		protected $table                = 'users';
		protected $primaryKey           = 'id';
		protected $returnType           = 'array';
		protected $allowedFields        = ['ID', 'UserName', 'Wins', 'Loses', 'Ties', 'IP', 'City', 'State', 'Country', 'CountryCode', 'FlagURL','DateCreated', 'DateUpdated', 'DateDeleted'];
		protected $useTimestamps        = TRUE;
		protected $createdField         = 'DateCreated';
		protected $updatedField         = 'DateUpdated';
		protected $deletedField         = 'DateDeleted';
//		protected $useSoftDeletes       = true;
//		protected $validationRules      = [];
//		protected $validationMessages   = [];
//		protected $skipValidation       = false;
	}
