<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Concerns\HasUlids;

class PhotoGeoData extends Model
{
    use HasUlids;

    protected $fillable = [
        'uploaded_by', 
        'image_path', 
        'title',
        'captured_at', 
        'lat', 
        'lng', 
        'desc', 
        'story', 
        'metadata'
    ];

    protected $casts = [
        'metadata' => 'array',
    ];
}
