package com.luojia_channel.modules.user.vo;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户信息VO")
public class UserInfoVO {
    @Schema(
            description = "用户ID"
    )
    private Long id;

    @Schema(
            description = "用户名"
    )
    private String username;

    @Schema(
            description = "手机号"
    )
    private String phone;

    @Schema(
            description = "邮箱"
    )
    private String email;

    @Schema(
            description = "头像url"
    )
    private String avatar;

    @Schema(
            description = "性别(0未知，1男，2女)"
    )
    private Integer gender;

    @Schema(
            description = "学院"
    )
    private String college;

    @Schema(
            description = "角色(1普通用户，2管理员，3超级管理员)"
    )
    private Integer role;

    @Schema(
            description = "状态(1正常，2冻结)"
    )
    private Integer status;
    
    @Schema(
            description = "访问令牌"
    )
    private String accessToken;
    
    @Schema(
            description = "刷新令牌"
    )
    private String refreshToken;
} 