package com.tashow.cloud.user.controller.app.auth.vo;

import com.tashow.cloud.common.validation.InEnum;
import com.tashow.cloud.common.validation.Mobile;
import com.tashow.cloud.systemapi.enums.sms.SmsSceneEnum;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户 APP - 发送手机验证码 Request VO
 */
@Data
@Accessors(chain = true)
public class AppAuthSmsSendReqVO {

    //手机号
    @Mobile
    private String mobile;

    //发送场景,对应 SmsSceneEnum 枚举
    @NotNull(message = "发送场景不能为空")
    @InEnum(SmsSceneEnum.class)
    private Integer scene;

}
