0
0
Files
Babyclass/app/Models/SellerLessonLog.php
2020-08-04 10:09:42 +08:00

26 lines
431 B
PHP

<?php
namespace App\Models;
use App\User;
use RuLong\Order\Models\Order;
class SellerLessonLog extends Model
{
public function lesson()
{
return $this->belongsTo(SellerLesson::class)->withDefault();
}
public function user()
{
return $this->belongsTo(User::class)->withDefault();
}
public function order()
{
return $this->belongsTo(Order::class)->withDefault();
}
}