mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 21:08:09 +08:00
38 lines
1.3 KiB
PHP
38 lines
1.3 KiB
PHP
<?php
|
||
|
||
// +----------------------------------------------------------------------
|
||
// | WeMall Plugin for ThinkAdmin
|
||
// +----------------------------------------------------------------------
|
||
// | 版权所有 2022~2024 ThinkAdmin [ thinkadmin.top ]
|
||
// +----------------------------------------------------------------------
|
||
// | 官方网站: https://thinkadmin.top
|
||
// +----------------------------------------------------------------------
|
||
// | 免责声明 ( https://thinkadmin.top/disclaimer )
|
||
// | 会员免费 ( https://thinkadmin.top/vip-introduce )
|
||
// +----------------------------------------------------------------------
|
||
// | gitee 代码仓库:https://gitee.com/zoujingli/think-plugs-wemall
|
||
// | github 代码仓库:https://github.com/zoujingli/think-plugs-wemall
|
||
// +----------------------------------------------------------------------
|
||
|
||
declare (strict_types=1);
|
||
|
||
namespace plugin\wemall\model;
|
||
|
||
use think\model\relation\HasOne;
|
||
|
||
/**
|
||
* 用户收藏行为数据
|
||
* @class PluginWemallUserActionCollect
|
||
* @package plugin\wemall\model
|
||
*/
|
||
class PluginWemallUserActionCollect extends AbsUser
|
||
{
|
||
/**
|
||
* 关联商品信息
|
||
* @return \think\model\relation\HasOne
|
||
*/
|
||
public function goods(): HasOne
|
||
{
|
||
return $this->hasOne(PluginWemallGoods::class, 'code', 'gcode');
|
||
}
|
||
} |