You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
325 B
14 lines
325 B
<?php
|
|
|
|
namespace App\Model\v3;
|
|
use App\Model\Model;
|
|
use Hyperf\Database\Model\Relations\BelongsTo;
|
|
|
|
class SfExpressOrder extends Model
|
|
{
|
|
protected $table = 'lanzu_sf_express_orders';
|
|
public function orderMain(): BelongsTo
|
|
{
|
|
return $this->belongsTo(OrderMain::class, 'shop_order_id', 'global_order_id');
|
|
}
|
|
}
|