👁 View: Wishlist.php
Path: /home/thiqat5/tmphone.thiqatech.com/tm/app/Model/Wishlist.php
Size: 365 B · Modified: 2021-11-17 23:00:14 · Perm: 0644 · Writable
<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Wishlist extends Model
{
    protected $casts = [
        'product_id' => 'integer',
        'user_id' => 'integer',
        'created_at' => 'datetime',
        'updated_at' => 'datetime'
    ];

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