package com.luojia_channel.modules.user.dto;

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

@Data
@Schema(description = "用户修改信息DTO")
public class UserChangeInfoDTO {
    @Schema(
            description = "用户名"
    )
    private String username;

    @Schema(
            description = "手机号,11位数字"
    )
    private String phone;

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

    @Schema(
            description = "学生学号"
    )
    private String studentId;

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

    @Schema(
            description = "性别,0-未知，1-男，2-女",
            allowableValues = {"0", "1", "2"},
            example = "1",
            implementation = Integer.class
    )
    private Integer gender;

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