package com.jeesharp.business.modules.member.dto;

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

/**
 * 注销账号请求
 *
 * @author jeesharp
 */
@Data
@Schema(description = "注销账号请求")
public class CancelAccountDTO {

    @Schema(description = "短信验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    @NotBlank(message = "验证码不能为空")
    private String smsCode;

    @Schema(description = "注销原因", example = "不再使用")
    private String reason;
}
