package com.iscs.bozzys.api

import kotlinx.serialization.Serializable

/**
 * 用户信息
 */
@Serializable
data class User(
    val id: Int = 0,
    val userId: Int? = null,
    val username: String = "",
    val nickname: String = "",
    val cardNfc: String? = null,
    val remark: String = "",
    val deptId: Int = 0,
    val deptName: String? = null,
    val postIds: List<Int> = listOf(),
    val email: String? = null,
    val mobile: String? = null,
    val sex: Int = 1,
    val avatar: String = "",
    val status: Int = 0,
    val loginIp: String = "",
    val loginDate: Long = 0L,
    val createTime: Long = 0L,
    val workstationIds: List<Int>? = null,
    val type: String? = "",
) : java.io.Serializable