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

class AsignacionesAdjuntosModel extends Model
{
    protected $table      = 'asignaciones_adjuntos';
    protected $primaryKey = 'IDAdjuntoAsignacion';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['IDAsignacion', '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;

}