Files
YwxAppThink/addon/wxchat/model/WxchatMessageRecall.php

28 lines
859 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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');
}
}