<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class UsageCounter extends Model
{
    protected $fillable = ['user_id', 'metric_key', 'period', 'count'];

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}
