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.
54 lines
973 B
54 lines
973 B
<?php
|
|
|
|
class IGtMessage{
|
|
var $isOffline;
|
|
/*
|
|
* 过多久该消息离线失效(单位秒) 支持1-72小时*3600秒,默认1小时
|
|
*/
|
|
var $offlineExpireTime;
|
|
|
|
/**
|
|
* 0:联网方式不限;1:仅wifi;2:仅4G/3G/2G
|
|
*/
|
|
var $pushNetWorkType = 0;
|
|
|
|
var $data;
|
|
|
|
public function __construct()
|
|
{
|
|
|
|
}
|
|
|
|
function get_isOffline()
|
|
{
|
|
return $this->isOffline;
|
|
}
|
|
function set_isOffline($isOffline)
|
|
{
|
|
return $this->isOffline = $isOffline;
|
|
}
|
|
function get_offlineExpireTime()
|
|
{
|
|
return $this->offlineExpireTime;
|
|
}
|
|
function set_offlineExpireTime($offlineExpireTime)
|
|
{
|
|
return $this->offlineExpireTime = $offlineExpireTime;
|
|
}
|
|
function get_pushNetWorkType()
|
|
{
|
|
return $this->pushNetWorkType;
|
|
}
|
|
function set_pushNetWorkType($pushNetWorkType)
|
|
{
|
|
return $this->pushNetWorkType = $pushNetWorkType;
|
|
}
|
|
function get_data()
|
|
{
|
|
return $this->data;
|
|
}
|
|
function set_data($data)
|
|
{
|
|
return $this->data = $data;
|
|
}
|
|
} |