其余文件
This commit is contained in:
24
app/common/model/shop/ShopSettlement.php
Normal file
24
app/common/model/shop/ShopSettlement.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\common\model\shop;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* 商家结算模型
|
||||
* Class ShopSettlement
|
||||
* @package app\common\model\shop
|
||||
*/
|
||||
class ShopSettlement extends Model
|
||||
{
|
||||
/**
|
||||
* @Notes: 关联商家模型
|
||||
* @Author: 张无忌
|
||||
*/
|
||||
public function shop()
|
||||
{
|
||||
return $this->hasOne('Shop', 'id', 'shop_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user