love_php/app/Models/Server/MarketService.php

17 lines
358 B
PHP
Raw Normal View History

2026-04-02 09:20:51 +08:00
<?php
namespace App\Models\Server;
use App\Models\Course\Course;
use App\Models\MerchantShop;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class MarketService extends Model
{
use SoftDeletes;
public function merchant(){
return $this->belongsTo(MerchantAccount::class, 'merchant_id', 'id');
}
}