package com.adealink.weparty.playmate.comment.data

import com.adealink.frame.network.data.PageReq
import com.google.gson.annotations.GsonNullable
import com.google.gson.annotations.SerializedName

data class PlaymateCommentReq(
    @SerializedName("skillId") val playmateId: String, //用户ID
    @SerializedName("page") val page: PageReq, //游标分页查询
)


data class PlaymateCommentRes(
    @SerializedName("list") val list: List<PlaymateCommentData>,
    @GsonNullable
    @SerializedName("next") val next: String?,
    @SerializedName("total") val total: Long
)

data class PlaymateCommentData(
    @SerializedName("time") val time: Long, //评论时间
    @SerializedName("userNo") val uid: String,
    @SerializedName("avatar") val avatar: String,
    @SerializedName("nickname") val nickname: String,
    @GsonNullable
    @SerializedName("star") val star: Float?,
    @GsonNullable
    @SerializedName("comment") val comment: String?
)