测试用户
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
package com.deloitte.system.model;
 
import com.common.annotation.Table;
import com.common.core.domain.BaseModel;
 
@Table(tableName = "quotes",clazz = Quotes.class)
public class Quotes extends BaseModel<Quotes> {
    public static final Quotes dao =new Quotes();
 
    public Long getDataId(){
        return getLong("id");
    }
    public Quotes setDataId(Long dataId){
        set("id", dataId);
        return this;
    }
    public String getContactName(){
        return getStr("contact_name");
    }
    public Quotes setContactName(String contactName){
        set("contact_name",contactName);
        return this;
    }
    public String getContactPhone(){
        return getStr("contact_phone");
    }
    public Quotes setContactPhone(String contactPhone){
        set("contact_phone",contactPhone);
        return this;
    }
    public String getContactFax(){
        return getStr("contact_fax");
    }
    public Quotes setContactFax(String contactFax){
        set("contact_fax",contactFax);
        return this;
    }
    public String getContactEmail(){
        return getStr("contact_email");
    }
    public Quotes setContactEmail(String contactEmail){
        set("contact_email",contactEmail);
        return this;
    }
    public String getBillTo(){
        return getStr("bill_to");
    }
    public Quotes setBllTo(String billTo){
        set("bill_to",billTo);
        return this;
    }
    public String getShipTo(){
        return getStr("ship_to");
    }
    public Quotes setShipTo(String shipTo ){
        set("ship_to",shipTo);
        return this;
    }
    public String getAuthor(){
        return getStr("author");
    }
    public Quotes setAuthor(String author){
        set("author",author);
        return this;
    }
    public String getMessage(){
        return getStr("message");
    }
    public Quotes setMessage(String message){
        set("message",message);
        return this;
    }
    public String getPrimaryRecipient(){
        return getStr("primaryRecipient");
    }
    public Quotes setPrimaryRecipient(String primaryRecipient){
        set("primary_recipient",primaryRecipient);
        return this;
    }
    public String getSfRecordId(){
        return getStr("sf_record_id");
    }
    public Quotes setSfRecordId(String sfRecordId){
        set("sf_record_id", sfRecordId);
        return this;
    }
    public Quotes findById(String dataId){
        return this.dao.findFirst("select * from " + getTableName() + " where id=? ", dataId);
    }
}