<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Price extends Model
{
    protected $fillable = [
        'product_id',
        'date_price',
        'price'
    ];

    public function product()
    {
        return $this->belongsTo(Product::class);
    }
}