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);
|
}
|
|
}
|