dootask/app/Models/AppPushDevice.php
kuaifan a49ee608a5 feat(push): 新增 DooPush 推送通道,与友盟并存
- 新增 app_push_devices 表与 api/push/device 接口(新版 App 上报/删除 DooPush 设备)
- app/Module/AppPush 统一分发友盟与 DooPush,业务字段经 payload.data 下发
- 系统设置「App 推送」新增 DooPush 配置;点击通知打开对应会话
- 更新 Expo 壳子模块(接入 DooPush)、语言包与 ai-kb
2026-10-19 10:33:19 +00:00

49 lines
2.6 KiB
PHP
Raw 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\Models;
/**
* App\Models\AppPushDevice
*
* @property int $id
* @property int $userid 用户ID
* @property string $channel 推送通道
* @property string $device_id 推送服务设备ID
* @property string $vendor 厂商通道
* @property string $platform 平台类型
* @property string $device_hash 登录TOKEN MD5,关联UserDevice
* @property string $device 设备型号
* @property string $version 应用版本号
* @property string|null $ua userAgent
* @property int $is_notified 通知权限
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel cancelAppend()
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel cancelHidden()
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel change($array)
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel getKeyValue()
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice query()
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel remove()
* @method static \Illuminate\Database\Eloquent\Builder|AbstractModel saveOrIgnore()
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereChannel($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereDevice($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereDeviceHash($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereDeviceId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereIsNotified($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice wherePlatform($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereUa($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereUserid($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereVendor($value)
* @method static \Illuminate\Database\Eloquent\Builder|AppPushDevice whereVersion($value)
* @mixin \Eloquent
*/
class AppPushDevice extends AbstractModel
{
protected $table = 'app_push_devices';
}