P15GEN2\59518
2024-05-29 d4210c7c4b04abde20037ea8aa0f54ef8a2649aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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;
        
    }
}