28 lines
859 B
PHP
28 lines
859 B
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||
// +----------------------------------------------------------------------
|
||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||
// +----------------------------------------------------------------------
|
||
// | Author: ywxapp<admin@ywxapp.cn>
|
||
// +----------------------------------------------------------------------
|
||
declare (strict_types = 1);
|
||
|
||
namespace addon\wxchat\model;
|
||
|
||
use think\Model;
|
||
|
||
|
||
class WxchatMessageRecall extends Model
|
||
{
|
||
// 遗留完整表名(无 wxapp_ 前缀,须用 $table 显式声明,不能用 $name)
|
||
protected $table = 'wxchat_message_recalls';
|
||
|
||
// 关联消息
|
||
|
||
public function message()
|
||
{
|
||
return $this->belongsTo(WxchatMessage::class, 'message_id');
|
||
}
|
||
}
|