This commit is contained in:
2025-09-25 03:03:31 +05:00
commit ae480cf2f6
2768 changed files with 1485826 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace App\Models\Ecommerce\Payouts;
use App\Models\Ecommerce\Channel\Channel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PayoutItem extends Model
{
use HasFactory;
/**
* Protected fields
*
* @var array
*/
protected $guarded = [];
/**
* The attributes that are mass assignable.
*
* @var array<string>
*/
protected $fillable = [
'payout_id',
'channel_id',
'order_item_id',
];
/**
* Related channel
*/
public function channel(): BelongsTo
{
return $this->belongsTo(Channel::class);
}
}