<?php

namespace Predial;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class Barrio extends Model
{
    public $table         = "gp_barrio";
    protected $primaryKey = "id_unico";

    public $fillable = [
        'id_unico',
        'nombre',
        'ciudad'
    ];

    protected $casts = [
        'id_unico'     => 'integer',
        'nombre'       => 'string',
        'ciudad' => 'integer'
    ];
}
