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

class ReposicionesAdjuntosModel extends Model
{
    protected $table      = 'reposiciones_adjuntos';
    protected $primaryKey = 'IDAdjuntoReposicion';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['IDReposicion', 'Nombre', 'Extension', 'Observacion', 'ReemplazoFirma', 'Firma', '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;

}