package com.aiwazian.messenger.data

import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
import com.aiwazian.messenger.interfaces.Profile

@Keep
data class UserInfo(
    @Keep override var id: Long = 0,
    @Keep var firstName: String = "",
    @Keep var lastName: String = "",
    @Keep var username: String? = null,
    @Keep var bio: String = "",
    @Keep var dateOfBirth: Long? = null,
): Profile

@Keep
data class UpdateProfileRequest(
    @SerializedName("firstName") val firstName: String,
    @SerializedName("lastName") val lastName: String? = null,
    @SerializedName("username") val username: String? = null,
    @SerializedName("bio") val bio: String? = null,
    @SerializedName("dateOfBirth") val dateOfBirth: Long? = null
)

@Keep
data class UpdateUsernameRequest(
    @SerializedName("username") val username: String?
)
