

package io.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 注册表单
 *
 */
@Data
@Schema(title = "注册表单")
public class RegisterDTO {
    private Long id;
    @Schema(title = "用户名")
    @NotBlank(message="用户名不能为空")
    private String username;

    @Schema(title = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

    @Schema(title = "密码")
    @NotBlank(message="确认密码不能为空")
    private String confirmPassword;

    @Schema(title = "昵称")
    private String nickName;

    @Schema(title = "介绍")
    private String introduce;
}
