package com.ruoyi.cai.dto.app.query;

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

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
public class FinishUserUpdateReq {
    @Schema(description = "用户ID",hidden = true)
    private Long userId;
    @Schema(description = "城市")
    @NotNull(message = "城市不能为空")
    private Integer cityId;
    @Schema(description = "昵称")
    private String nickname;
    @Schema(description = "生日")
    @NotNull(message = "生日必填")
    private LocalDate birthday;
    @Schema(description = "性别")
    @NotNull(message = "性别必填")
    private Integer gender;
    @Schema(description = "头像")
    private String avatar;
}
