<?php

namespace App\Models;

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

class SongCategory extends Model
{
    /** @use HasFactory<\Database\Factories\SongCategoryFactory> */
    use HasFactory;

    protected $fillable = [
        'code',
        'name',
    ];

    public function songs() {
        return $this->belongsToMany(Song::class);
    }
}
