测试用户
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
package com.deloitte.system.model;
 
import com.common.annotation.Table;
import com.common.core.domain.BaseModel;
 
@Table(tableName = "ts_repair",clazz = TSRepair.class)
public class TSRepair extends BaseModel<TSRepair> {
    public static final TSRepair dao =new TSRepair();
 
    public Long getDataId(){
        return getLong("id");
    }
 
    public TSRepair setDataId(Long dataId){
        set("id", dataId);
        return this;
    }
    public String getBusinessAContact(){
        return getStr("business_a_contact");
    }
 
    public TSRepair setBusinessAContact(String businessAContact){
        set("business_A_contact", businessAContact);
        return this;
    }
 
    public String getBusinessAPhone(){
        return getStr("business_a_phone");
    }
 
    public TSRepair setBusinessAPhone(String businessAPhone){
        set("business_a_phone",businessAPhone);
        return this;
    }
 
    public String getSfRecordId(){
        return getStr("sf_record_id");
    }
 
    public TSRepair setSfRecordId(String sfRecordId){
        set("sf_record_id", sfRecordId);
        return this;
    }
 
    public TSRepair findById(String dataId){
        return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
    }
 
}