package cn.iocoder.yudao.module.order.vo.order;

import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.system.enums.sms.SmsSceneEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "订单相关短信验证参数")
public class OrderSendSmsReqVO {

    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "{order.id.not.null}")
    private Long orderId;

    @ApiModelProperty(value = "发送场景(4 控货全转移 5 放货验证短信 6 放货成功通知)", example = "1", notes = "对应 SmsSceneEnum 枚举", required = true)
    @NotNull(message = "{app.sms.scene.not.blank}")
    @InEnum(value = SmsSceneEnum.class, message = "{app.sms.scene.not.range}")
    private Integer scene;

}
