<?php

namespace Modules\PrintSuppliers\Models;

use Illuminate\Database\Eloquent\Model;

class MerchizeProduct extends Model
{
    protected $table = 'print_supplier_merchize_product';
    public $timestamps = false;

    protected $fillable = [ 'product_title', 'link', 'type' ];

    public function variants() {
        return $this->hasMany(MerchizeProductVariant::class, 'mc_product_id', 'id');
    }
}
