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

class PeticionesAdjuntosModel extends Model
{
    protected $table      = 'peticiones_adjuntos';
    protected $primaryKey = 'IDAdjuntoPeticion';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['IDPeticion', 'Nombre', 'Extension', 'UsuarioCrea', 'FechaCrea', 'UsuarioModifica', 'FechaModifica', 'Localhost'];

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

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

}