package org.qinan.safetyeval.client.dto;

import io.swagger.annotations.ApiModelProperty;
import java.util.Map;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 发送短信命令
 *
 * @author safety-eval
 */
@Data
public class SendMessageCmd {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "消息模板参数")
    private Map<String, Object> params;
}