d2d.emegrendeles.hu/app/Models/ProfitCenterSupplierSchedule.php
2026-04-15 06:42:55 +02:00

29 lines
614 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class ProfitCenterSupplierSchedule extends BaseAuditable
{
use SoftDeletes;
protected $guarded = ['id', 'created_at', 'updated_at'];
public function profitCenter(): BelongsTo
{
return $this->belongsTo(ProfitCenter::class);
}
public function supplier(): BelongsTo
{
return $this->belongsTo(Supplier::class);
}
public function deliverySchedule(): BelongsTo
{
return $this->belongsTo(DeliverySchedule::class);
}
}