package com.adealink.weparty.playmate.data

import com.adealink.weparty.module.playmate.data.UserPlaymateCategoryData
import com.adealink.weparty.module.profile.data.UserInfo
import com.google.gson.annotations.SerializedName

data class PlaymateDetailReq(
    @SerializedName("id") val id: String, //技能/商品ID
)

data class PlaymateDetailRes(
    @SerializedName("id") val id: String, //技能/商品ID

    @SerializedName("userNo") val uid: String, //用户ID
    @SerializedName("avatar") val avatar: String, //头像
    @SerializedName("nickname") val nickname: String, //昵称
    @SerializedName("age") val age: Int, //年龄
    @SerializedName("gender") val gender: Int, //性别
    @SerializedName("star") val star: Float, //评分
    @SerializedName("area") val area: String, //所在地区
    @SerializedName("cover") val cover: String, //用户封面图片
    @SerializedName("summary") val summary: String, //摘要
    @SerializedName("images") val images: List<String>, //图片列表
    @SerializedName("voiceBar") val voice: String, //图片列表
    @SerializedName("price") val price: Float, //价格
    @SerializedName("unit") val unit: String, //价格单位
    @SerializedName("labels") val labels: List<String>, //标签
    @SerializedName("categoryName") val categoryName: String, //品类名称
    @SerializedName("categoryIcon") val categoryIcon: String, //品类图标
)


data class PlaymateCommentData(
    @SerializedName("id") val user: UserInfo,
    @SerializedName("star") val star: Float,
    @SerializedName("comment") val comment: String,
    @SerializedName("ts") val ts: Long,
)


data class UserPlaymateCategoryReq(
    @SerializedName("id") val uid: String, //用户ID
)

data class UserPlaymateCategoryRes(
    @SerializedName("list") val list: List<UserPlaymateCategoryData>
)