package com.matrix.system.hive.bean;
|
|
import com.matrix.core.pojo.EntityDTO;
|
import com.matrix.core.anotations.Extend;
|
|
/**
|
* @description 短信模板表
|
* @author wzy
|
* @date 2020-03-15 18:42
|
*/
|
public class SysSmsTemplate{
|
@Extend
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* 审核状态 审核中
|
*/
|
public static final Integer SMS_STATUS_DOING = 0;
|
|
/**
|
* 审核状态 审核成功
|
*/
|
public static final Integer SMS_STATUS_Y = 1;
|
|
/**
|
* 审核状态 审核失败
|
*/
|
public static final Integer SMS_STATUS_N = 2;
|
|
/**
|
* 短信类型 验证码
|
*/
|
public static final String SMS_TYPE_VERIFY_CODE = "0";
|
|
/**
|
* 短信类型 短信通知
|
*/
|
public static final String SMS_TYPE_SMS_NOTICE = "1";
|
|
/**
|
* 短信类型 推广短信
|
*/
|
public static final String SMS_TYPE_PROMOTE = "2";
|
|
/**
|
* api接口action 添加模板
|
*/
|
public static final String SMS_ACTION_ADD = "AddSmsTemplate";
|
|
/**
|
* api接口action 发送短信
|
*/
|
public static final String SMS_ACTION_SEND = "SendSms";
|
|
/**
|
* api接口action 查询模板
|
*/
|
public static final String SMS_ACTION_QUERY = "QuerySmsTemplate";
|
|
/**
|
* api接口action 删除模板
|
*/
|
public static final String SMS_ACTION_DELETE = "DeleteSmsTemplate";
|
|
|
/**
|
* 主键
|
*/
|
private Long id;
|
|
|
/**
|
* 模板名称
|
*/
|
private String stName;
|
|
|
/**
|
* 模板内容
|
*/
|
private String stTemplate;
|
|
|
/**
|
* 模板code
|
*/
|
private String stCode;
|
|
|
/**
|
* 审核状态
|
*/
|
private Integer stStatus;
|
|
|
/**
|
* 失败原因
|
*/
|
private String stReason;
|
|
private String stRemark;
|
|
private Long companyId;
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
|
public String getStRemark() {
|
return stRemark;
|
}
|
|
public void setStRemark(String stRemark) {
|
this.stRemark = stRemark;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id=id;
|
}
|
|
|
public String getStName() {
|
return stName;
|
}
|
|
public void setStName(String stName) {
|
this.stName=stName;
|
}
|
|
|
public String getStTemplate() {
|
return stTemplate;
|
}
|
|
public void setStTemplate(String stTemplate) {
|
this.stTemplate=stTemplate;
|
}
|
|
|
public String getStCode() {
|
return stCode;
|
}
|
|
public void setStCode(String stCode) {
|
this.stCode=stCode;
|
}
|
|
|
public Integer getStStatus() {
|
return stStatus;
|
}
|
|
public void setStStatus(Integer stStatus) {
|
this.stStatus=stStatus;
|
}
|
|
|
public String getStReason() {
|
return stReason;
|
}
|
|
public void setStReason(String stReason) {
|
this.stReason=stReason;
|
}
|
|
|
|
|
}
|