<?php

namespace App\Domain\Identity\Models;

use App\Domain\Shared\Traits\BelongsToAcademy;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class BranchSetting extends Model
{
    use BelongsToAcademy;

    protected $fillable = [
        'academy_id',
        'branch_id',
        'key',
        'value',
        'group',
    ];

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