<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Location extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'center_lat',
        'center_lng',
        'radius',
    ];

    public function attendances()
    {
        return $this->hasMany(Attendance::class);
    }
}
