webman/app/model/UserPhoneLog.php

29 lines
658 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
namespace app\model;
use support\Model;
/**
* 用户手机号在线日志
* @property int $id 用户记录的唯一标识符
* @property int $phone 用户手机号WS手机号
* @property int $time 用户在线时长(单位:秒)
* @property string|null $remark 用户备注信息
* @property string $created_at 创建时间
* @property string $updated_at 更新时间
* @property int $status 是否在线 1: 在线0: 不在线)
*/
class UserPhoneLog extends Model
{
// 指定表名
protected $table = 'user_phone_log';
/**
* 主键
*
* @var string
*/
protected $primaryKey = 'id';
}