<?php

namespace Modules\Mall\Models\Traits;

use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Modules\Mall\Models\Order;

trait BelongsToOrder
{

    /**
     * Notes   : 隶属订单
     * @Date   : 2021/3/15 1:29 下午
     * @Author : < Jason.C >
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function order(): BelongsTo
    {
        return $this->belongsTo(Order::class);
    }

}