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.
27 lines
516 B
27 lines
516 B
package com.gyf.lib.util
|
|
|
|
|
|
data class NotificationVo(val title: String, val content: String, val id: Int)
|
|
|
|
data class PageDto(val currentPage: Long, val pageSize: Int = 10)
|
|
|
|
data class NotificationDto(
|
|
val receiverId: Int,
|
|
val receiverClient: ClientType,
|
|
override val token: Token,
|
|
val page: PageDto? = null,
|
|
override val clientType: ClientType = receiverClient
|
|
) : ClientBaseVo()
|
|
|
|
|
|
/**
|
|
* 客户端类型
|
|
*
|
|
*/
|
|
enum class ClientType {
|
|
//前台
|
|
Foreground,
|
|
|
|
//后台
|
|
Background
|
|
} |