p2 project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
360 B

8 months ago
<?php
8 months ago
namespace app\model;
8 months ago
class UserChatLinkModel extends BaseModel
{
7 months ago
const USER_CHAT_LINK_USER_TYPE_PC = 1; //h5,pc 用户
const USER_CHAT_LINK_USER_TYPE_ADMIN = 2; // 管理端账号
8 months ago
protected $name = 'user_chat_link';
public function admin()
{
return $this->belongsTo(AdminModel::class, 'user_id', 'id');
}
}