测试用户
2023-04-13 43393f2bb11cbf9e6af40077bbc5284660e8a754
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
113
114
115
116
117
118
119
package com.deloitte.system.model;
 
import com.common.annotation.Table;
import com.common.core.domain.BaseModel;
 
@Table(tableName = "swo",clazz = Swo.class)
public class Swo extends BaseModel<Swo> {
    public static final Swo dao= new Swo();
 
    public Long getDataId(){
        return getLong("id");
    }
 
    public Swo setDataId(Long dataId){
        set("id", dataId);
        return this;
    }
    public String getContactNameHidden(){
        return getStr("contact_name_hidden");
    }
    public Swo setContactNameHidden(String contactNameHidden){
        set("contact_name_hidden",contactNameHidden);
        return this;
    }
    public String getEmail(){
        return getStr("email");
    }
    public Swo setEmail(String email){
        set("email",email);
        return this;
    }
    public String getContact(){
        return getStr("contact");
    }
    public Swo setContact(String contact){
        set("contact",contact);
        return this;
    }
    public String getAuthor(){
        return getStr("author");
    }
    public Swo setAuthor(String author){
        set("author",author);
        return this;
    }
    public String getMessage(){
        return getStr("message");
    }
    public Swo setMessage(String message){
        set("message",message);
        return this;
    }
    public String getPrimaryRecipient(){
        return getStr("primary_recipient");
    }
    public Swo setPrimaryRecipient(String primaryRecipient){
        set("primary_recipient",primaryRecipient);
        return this;
    }
    public String getSend(){
        return getStr("send");
    }
    public Swo setSend(String send){
        set("send",send);
        return this;
    }
    public String getCc(){
        return getStr("cc");
    }
    public Swo setCc(String cc){
        set("cc",cc);
        return this;
    }
    public String getCcName(){
        return get("cc_name");
    }
    public Swo setCcName(String ccName){
        set("cc_name",ccName);
        return this;
    }
    public String getBcc(){
        return getStr("bcc");
    }
    public Swo setBcc(String bcc){
        set("bcc",bcc);
        return this;
    }
    public String getBccName(){
        return getStr("bcc_name");
    }
    public Swo setBccName(String bccName){
        set("bcc_name",bccName);
        return this;
    }
    public String getRecipient(){
        return getStr("recipient");
    }
    public Swo setRecipient(String recipient){
        set("recipient",recipient);
        return this;
    }
    public String getToName(){
        return getStr("to_name");
    }
    public Swo setToName(String toName){
        set("to_name",toName);
        return this;
    }
    public String getSfRecordId(){
        return getStr("sf_record_id");
    }
    public Swo setSfRecordId(String sfRecordId){
        set("sf_record_id", sfRecordId);
        return this;
    }
    public Swo findById(String dataId){
        return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
    }
}