<?php

namespace TPS\Shop\Models;

use Illuminate\Database\Eloquent\Model;
use Webkul\Customer\Models\CustomerProxy;

class WebsiteReview extends Model
{
    protected $table = 'website_reviews';

    protected $fillable = [
        'customer_id',
        'review_text',
        'rating'
    ];

    public function customer()
    {
        return $this->belongsTo(CustomerProxy::modelClass(), 'customer_id');
    }

}