Files
senmesh-zc/src/main/java/com/newyetai/sdk/sms/model/AddSmsTemplate.java
ran.shang 7e38b8d971 init
2025-06-11 09:42:13 +08:00

52 lines
1.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.newyetai.sdk.sms.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
* 短信模板
*
* @author Rey(leijiaping@newyetai.com)
*/
public class AddSmsTemplate implements Serializable {
/**
*
*/
private static final long serialVersionUID = 5868722985393802890L;
/**
* 是否必填:是<br>
* 事例:1<br>
* 描述:短信类型。其中: - 0:验证码。 - 1:短信通知。 - 2:推广短信。 - 3:国际 / 港澳台消息。<br>
*/
@JsonProperty("TemplateType")
private Integer templateType;
/**
* 是否必填:是<br>
* 事例:阿里云短信测试模板<br>
* 描述:模板名称,长度为 1~30 个字符。<br>
*/
@JsonProperty("TemplateName")
private String templateName;
/**
* 是否必填:是<br>
* 事例:您正在申请手机注册,验证码为:${code},5 分钟内有效!<br>
* 描述:模板内容,长度为 1~500
* 个字符。模板内容需要符合[文本短信模板规范](https://help.aliyun.com/document_detail/108253.html)或[国际 /
* 港澳台短信模板规范](https://help.aliyun.com/document_detail/108254.html)。<br>
*/
@JsonProperty("TemplateContent")
private String templateContent;
/**
* 是否必填:是<br>
* 事例:当前的短信模板应用于双 11 大促推广营销<br>
* 描述:短信模板申请说明。请在申请说明中描述您的业务使用场景,长度为 1~100 个字符。<br>
*/
@JsonProperty("Remark")
private String remark;
}