<?php

declare(strict_types=1);

namespace App\Models;

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

final class TagSynonym extends Model
{
    public $timestamps = false;

    protected $table = 'tag_synonyms';

    protected $fillable = [
        'tag_id',
        'synonym',
    ];

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