package com.sckw.system.model.vo.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 切换账号响应对象
 * @author chenxiaofei
 * @date 2026-01-08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "切换账号响应对象")
public class SwitchAccountResVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", example = "1234567890")
    private Long userId;

    /**
     * 用户姓名
     */
    @Schema(description = "用户姓名", example = "张三")
    private String name;

    /**
     * 账号
     */
    @Schema(description = "账号", example = "13800138000")
    private String account;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "13800138000")
    private String phone;

    /**
     * 头像
     */
    @Schema(description = "头像URL", example = "https://example.com/avatar.jpg")
    private String photo;

    /**
     * 角色ID
     */
    @Schema(description = "角色ID", example = "1")
    private Long roleId;

    /**
     * 角色名称
     */
    @Schema(description = "角色名称", example = "管理员")
    private String roleName;

    /**
     * 系统类型
     */
    @Schema(description = "系统类型: 1-运营端, 2-企业端", example = "2")
    private Integer systemType;
    /**
     * 登录Token
     */
    private String token;
    /**
     * 企业id
     */
    @Schema(description = "企业id", example = "1")
    private Long entId;
    /**
     * 企业名称
     */
    @Schema(description = "企业名称", example = "企业A")
    private String enterpriseName;
    /**
     * 菜单列表
     */
    @Schema(description = "菜单列表")
    List<KwsMenuResVo> menuList;
}





