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

class OrdenCompraResponsablesModel extends Model
{
    protected $table      = 'ordencompra_responsables';
    protected $primaryKey = 'IDOrdenCompra';

    protected $useAutoIncrement = false;

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

    protected $allowedFields = ['IDOrdenCompra', 'UsuarioFirma1', 'UsuarioFirma2', 'UsuarioFirma3', '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;
    
}