更新代码
This commit is contained in:
18
app/Models/Windup.php
Normal file
18
app/Models/Windup.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use RuLong\Order\Models\Order;
|
||||
|
||||
class Windup extends Model
|
||||
{
|
||||
public function orders()
|
||||
{
|
||||
return $this->hasMany(Order::class);
|
||||
}
|
||||
|
||||
public function seller()
|
||||
{
|
||||
return $this->belongsTo(Seller::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user