package cn.axzo.msg.center.notices.http.api.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.HashMap;
import java.util.Map;

/**
 * 发送手机信息请求类
 *
 * @author zhaoyong_sh
 * @see SendMobileMessageRequest
 * @since 2021-05-20 11:28
 */
@Data
public class SendMobileMessageRequest {

    /** 请求号 */
    @NotBlank(message = "request no must not be null")
    private String requestNo;

    /** 应用接入码 */
    @NotBlank(message = "app code must not be null")
    private String appCode;

    /** 短信模板号 */
    @NotBlank(message = "template no must not be null")
    private String templateNo;

    /** 电话号码 */
    @NotBlank(message = "phone no must not be null")
    private String phoneNo;

    /** 短信模板变更 */
    @NotNull(message = "params must not be null")
    private Map<String, Object> params = new HashMap<>();
    /** 扩展参数 */
    private String expansion;

}
