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

class TiposDocumentoModel extends Model
{
    protected $DBGroup      = 'baseT';
    protected $table        = 'tipo_documento';
    protected $primaryKey   = 'IDTipoDocumento';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['CodigoNavision', 'CodigoSUNAT', 'DescripcionLarga', 'DescripcionCorta', 'UsuarioCrea', 'FechaCrea', 'UsuarioModifica', 'FechaModifica', 'Localhost', 'Estado', 'UsuarioEstado', 'FechaEstado', 'MotivoEstado'];

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

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

}