12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace app\model\wechat;
- use crmeb\basic\BaseModel;
- use crmeb\traits\ModelTrait;
- class WechatReply extends BaseModel
- {
- use ModelTrait;
-
- protected $pk = 'id';
-
- protected $name = 'wechat_reply';
-
- public static $replyType = ['text', 'image', 'news', 'voice'];
- public function wechatKeys()
- {
- return $this->hasMany(WechatKey::class, 'reply_id', 'id');
- }
- }
|