package com.qimai.log.database

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "push_info")
data class PushNotifiInfo @JvmOverloads
constructor(
    @PrimaryKey @ColumnInfo(name = "msg_id") val msg_id: String, //消息id
    @ColumnInfo(name = "status") var status: Boolean, //  状态
    @ColumnInfo(name = "error_msg") var errorMsg: String? = null, //错误原因
    @ColumnInfo(name = "push_type") val pushType: String,   //用的什么推送
    @ColumnInfo(name = "rawText") var rawText: String? = null,  //原始信息
    @ColumnInfo(name = "time") var time: String? = null,   //格式化时间
    @ColumnInfo(name = "device_id") var deviceId: String? = null,  //推送的devicedId
    @ColumnInfo(name = "model") var model: String? = null,   //手机型号
    @ColumnInfo(name = "app_version") var version: String? = null, //app版本
    @ColumnInfo(name = "time_stamp") var timeStamp: Long? = null //时间戳
) {
}