mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 05:16:49 -04:00
26 lines
632 B
PHP
26 lines
632 B
PHP
<?php
|
|
|
|
namespace Modules\Refund\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Modules\Seller\Entities\SellerProductSKU;
|
|
use Modules\Refund\Entities\RefundReason;
|
|
|
|
class RefundProduct extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $table = 'refund_products';
|
|
protected $guarded = ['id'];
|
|
|
|
public function seller_product_sku()
|
|
{
|
|
return $this->belongsTo(SellerProductSKU::class, 'seller_product_sku_id', 'id');
|
|
}
|
|
|
|
public function refund_reason()
|
|
{
|
|
return $this->belongsTo(RefundReason::class, 'refund_reason_id', 'id');
|
|
}
|
|
}
|