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;

/**
 * 用户信息响应对象
 * @author chenxiaofei
 * @date 2026-01-08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户信息响应对象")
public class UserInfoResVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

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

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

    /**
     * 账号状态: 0-正常, 1-冻结
     */
    @Schema(description = "账号状态: 0-正常, 1-冻结", example = "0")
    private Integer status;

    /**
     * 账号状态描述
     */
    @Schema(description = "账号状态描述", example = "正常")
    private String statusDesc;

}





