package bean

//登录-bean
data class Login<T>(
    val message: String,
    val result: T,
    val status: String
)

data class LoginBean(
    val headPic: String,
    val nickName: String,
    val sex: Int,
    val signature: String,
    val token: String,
    val userId: Int
)
data class LoginRequest(
    val clientId: String = "428a8310cd442757ae699df5d894f051",
    val grantType: String,
    val username: String? = null,
    val phonenumber: String? = null,
    val smsCode: String? = null,
    val password: String? = null,
    val userType: String = "app_user"
)

data class RegisterRequest(
    val clientId: String = "428a8310cd442757ae699df5d894f051",
    val grantType: String,
    val smsCode: String? = null,
    val username: String,
    val password: String,
    val userType: String = "app_user",
    val idCard: String,
    val inviteCode: String? = null,
    val faceAddr: String
)

data class ForgotRequest(
    val phonenumber: String,
    val smsCode: String,
    val password: String
)