<?php

namespace App\Models\Tenants;

use Illuminate\Database\Eloquent\Model;

/**
 * @mixin IdeHelperTenantOptionGroup
 */
class TenantOptionGroup extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'tenant_id',
        'group_key',
        'name',
        'description',
    ];

    public function values()
    {
        return $this->hasMany(TenantOptionValue::class, 'group_id');
    }
}
