SmsMessageDTO.java 1.39 KB
package com.diligrp.assistant.sms.domain;

import java.util.List;

public class SmsMessageDTO {
    // 短信服务通道模版标识
    private String templateId;
    // 手机号
    private String telephone;
    // 手机号列表-批量发送时使用
    private List<String> telephones;
    // 模版变量
    private List<ParamPair> params;
    // 消息签名
    private String signature;
    // 是否异步发送短信
    private boolean async;

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public List<String> getTelephones() {
        return telephones;
    }

    public void setTelephones(List<String> telephones) {
        this.telephones = telephones;
    }

    public List<ParamPair> getParams() {
        return params;
    }

    public void setParams(List<ParamPair> params) {
        this.params = params;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public boolean isAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }
}