<?php

namespace App\Models;

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

class SpecificationData extends Model
{
    use HasFactory;
    protected $fillable = [
        'specification_id',
        'attribute_id',
        'value'
    ];

    public function attribute_data()
    {
        return $this->belongsTo(Attribute::class, 'attribute_id');
    }

}
