package foundation.send.sms;
|
|
import foundation.data.entity.Entity;
|
|
public class SmsBuilderDetail {
|
|
private String id;
|
private String parentId;
|
private String businessCode;
|
private String businessName;
|
private String subject;
|
private String template;
|
private String signName;
|
private String templateCode;
|
private String templateContent;
|
private String isActive;
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(String parentId) {
|
this.parentId = parentId;
|
}
|
|
public String getBusinessCode() {
|
return businessCode;
|
}
|
|
public void setBusinessCode(String businessCode) {
|
this.businessCode = businessCode;
|
}
|
|
public String getBusinessName() {
|
return businessName;
|
}
|
|
public void setBusinessName(String businessName) {
|
this.businessName = businessName;
|
}
|
|
public String getSubject() {
|
return subject;
|
}
|
|
public void setSubject(String subject) {
|
this.subject = subject;
|
}
|
|
public String getTemplate() {
|
return template;
|
}
|
|
public void setTemplate(String template) {
|
this.template = template;
|
}
|
|
public String getTemplateContent() {
|
return templateContent;
|
}
|
|
public void setTemplateContent(String templateContent) {
|
this.templateContent = templateContent;
|
}
|
|
public String getIsActive() {
|
return isActive;
|
}
|
|
public void setIsActive(String isActive) {
|
this.isActive = isActive;
|
}
|
|
public String getSignName() {
|
return signName;
|
}
|
|
public void setSignName(String signName) {
|
this.signName = signName;
|
}
|
|
public String getTemplateCode() {
|
return templateCode;
|
}
|
|
public void setTemplateCode(String templateCode) {
|
this.templateCode = templateCode;
|
}
|
|
public SmsBuilderDetail load(Entity entity) {
|
this.id = entity.getString("id");
|
this.parentId = entity.getString("parent_id");
|
this.businessCode = entity.getString("business_code");
|
this.businessName = entity.getString("business_name");
|
this.subject = entity.getString("subject");
|
this.template = entity.getString("template");
|
this.signName = entity.getString("sign_name");
|
this.templateCode = entity.getString("template_code");
|
this.templateContent = entity.getString("template_content");
|
this.isActive = entity.getString("isActive");
|
return this;
|
|
}
|
}
|