<?php

namespace App\Models;

use CodeIgniter\Model;

class LocationModel extends Model
{
    protected $table            = 'locations';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $allowedFields    = ['user_id', 'latitude', 'longitude', 'address_name', 'plus_code', 'is_default', 'created_at', 'updated_at'];
    protected $useTimestamps   = true;
}
