20 lines
547 B
PHP
20 lines
547 B
PHP
<?php
|
|
|
|
namespace app\common\model\vip_flow;
|
|
|
|
use app\common\model\BaseModel;
|
|
use app\common\model\system_store\SystemStore;
|
|
use think\model\concern\SoftDelete;
|
|
|
|
class VipFlow extends BaseModel
|
|
{
|
|
use SoftDelete;
|
|
protected $name = 'vip_flow';
|
|
protected $deleteTime = 'delete_time';
|
|
|
|
public function store()
|
|
{
|
|
return $this->hasOne(SystemStore::class, 'id','store_id')
|
|
->bind(['store_name'=>'name', 'store_phone'=>'phone','store_detailed_address'=>'detailed_address','store_simple_address'=>'address']);
|
|
}
|
|
} |