package com.deloitte.system.model;
|
|
import com.common.annotation.Table;
|
import com.common.core.domain.BaseModel;
|
|
/**
|
* @Author: Ben Pi
|
* @Date: 22/02/2022 15:59
|
*/
|
|
@Table(tableName = "account", clazz = Account.class)
|
public class Account extends BaseModel<Account> {
|
public static final Account dao = new Account();
|
|
public Long getDataId() {
|
|
return getLong("id");
|
}
|
|
public Account setDataId(Long dataId) {
|
set("id", dataId);
|
return this;
|
}
|
|
public String getMobilePhoneNumber(){
|
return getStr("mobile_phone_number");
|
}
|
|
public Account setMobilePhoneNumber(String mobilePhoneNumber){
|
set("mobile_phone_number", mobilePhoneNumber);
|
return this;
|
}
|
|
public String getPhoneD(){
|
return getStr("phone_d");
|
}
|
|
public Account setPhoneD(String phoneD){
|
set("phone_d", phoneD);
|
return this;
|
}
|
|
public String getSfRecordId(){
|
return getStr("sf_record_id");
|
}
|
|
public Account setSfRecordId(String sfRecordId){
|
set("sf_record_id", sfRecordId);
|
return this;
|
}
|
|
public Account findById(String dataId){
|
return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
|
}
|
}
|