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

class SistemasModel extends Model
{
    protected $table      = 'sistemas';
    protected $primaryKey = 'IDSistema';

    protected $useAutoIncrement = true;

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

    protected $allowedFields = ['Sistema', 'Raiz', 'Observacion', 'UsuarioCrea', 'FechaCrea', 'UsuarioModifica', 'FechaModifica', 'Localhost', 'FechaEstado', 'UsuarioEstado', 'MotivoEstado','Estado'];

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

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

}