<?php
namespace App\Models;
use CodeIgniter\Model;

class DivisasModel extends Model
{
    protected $DBGroup      = 'baseT';
    protected $table        = 'divisas';
    protected $primaryKey   = 'IDDivisa';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['Moneda', 'Simbolo', 'CodigoInternacional', 'ValorCambio', 'Observacion', 'UsuarioCrea', 'FechaCrea', 'UsuarioModifica', 'FechaModifica', 'Estado', 'UsuarioEstado', 'FechaEstado', 'MotivoEstado', 'Localhost'];

    protected $useTimestamps = false;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
    protected $deletedField  = 'deleted_at';

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

}