package com.grkj.iscs.model.vo.user

data class UserListRespVO(
    val code: Int,
    val msg: String,
    val rows: List<Row>,
    val total: Int
) {
    data class Row(
        val userId: Long?,

        val deptId: Long?,

        val userName: String?,

        val nickName: String?,

        val email: String?,

        val phonenumber: String?,

        val sex: String?,

        val avatar: String?,

        val password: String?,

        val salt: String?,

        val status: String?,

        val delFlag: String?,

        val loginIp: String?,

        val loginString: String?,

        val dept: SysDept?,

        val roles: List<SysRole>?,

        val roleIds: List<Long>,

        val postIds: List<Long>,

        val workstationIds: List<Long>,

        val unitIds: List<Long>,

        val roleId: Long?,

        val roleKey: String?,

        val unitId: Long?,

        val workstationId: Long?,

        val unitName: String?,

        val roleName: String?,

        val userIds: Set<Long>?,

        val b: Boolean?
    ) {
        data class SysRole(
            val roleId: Long?,

            val roleName: String?,

            val roleKey: String?,

            val roleSort: String?,

            val dataScope: String?,

            val marsDataScope: String?,

            val menuCheckStrictly: Boolean?,

            val deptCheckStrictly: Boolean?,

            val status: String?,

            val delFlag: String?,

            val flag: Boolean?,

            val menuIds: List<Long>,

            val deptIds: List<Long>,

            val workstationIds: List<Long>
        )

        data class SysDept(
            val deptId: Long?,

            val parentId: Long?,

            val ancestors: String?,

            val deptName: String?,

            val orderNum: String?,

            val leader: String?,

            val phone: String?,

            val email: String?,

            val status: String?,

            val delFlag: String?,

            val parentName: String?,

            val children: MutableList<SysDept>
        )
    }
}