<?php

namespace Modules\Mall\Models;

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

class GoodsSpecValue extends Model
{

    protected $table = 'mall_goods_spec_values';

    /**
     * Notes   : 所属属性
     * @Date   : 2021/5/11 4:52 下午
     * @Author : < Jason.C >
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function spec(): BelongsTo
    {
        return $this->belongsTo(GoodsSpec::class);
    }

}