package com.deloitte.system.model;
|
|
import com.common.annotation.Table;
|
import com.common.core.domain.BaseModel;
|
|
@Table(tableName = "loaner_application", clazz = LoanerApplication.class)
|
public class LoanerApplication extends BaseModel<LoanerApplication> {
|
public static final LoanerApplication dao = new LoanerApplication();
|
|
public Long getDataId(){
|
|
return getLong("id");
|
}
|
|
public LoanerApplication setDataId(Long dataId){
|
set("id", dataId);
|
return this;
|
}
|
|
public String getApplyPerson(){
|
return getStr("apply_person");
|
}
|
|
public LoanerApplication setApplyPerson(String applyPerson){
|
set("apply_person", applyPerson);
|
return this;
|
}
|
|
public String getApplyPersonPhone(){
|
return getStr("apply_person_phone");
|
}
|
|
public LoanerApplication setApplyPersonPhone(String applyPersonPhone){
|
set("apply_person_phone", applyPersonPhone);
|
return this;
|
}
|
|
public String getApplicantMailbox(){
|
return getStr("applicant_mailbox");
|
}
|
|
public LoanerApplication setApplicantMailbox(String applicantMailbox){
|
set("applicant_mailbox", applicantMailbox);
|
return this;
|
}
|
|
public String getLoanerReceiveStaff(){
|
return getStr("loaner_receive_staff");
|
}
|
|
public LoanerApplication setLoanerReceiveStaff(String loanerReceiveStaff){
|
set("loaner_receive_staff", loanerReceiveStaff);
|
return this;
|
}
|
|
public String getDirectShippmentAddress(){
|
return getStr("direct_shippment_address");
|
}
|
|
public LoanerApplication setdirectShippmentAddress(String directShippmentAddress){
|
set("direct_shippment_address", directShippmentAddress);
|
return this;
|
}
|
|
public String getLoanerReceiveStaffPhone(){
|
return getStr("loaner_receive_staff_phone");
|
}
|
|
public LoanerApplication setLoanerReceiveStaffPhone(String loanerReceiveStaffPhone){
|
set("loaner_receive_staff_phone", loanerReceiveStaffPhone);
|
return this;
|
}
|
|
public String getReturnTrakeStaff(){
|
return getStr("return_trake_staff");
|
}
|
|
public LoanerApplication setReturnTrakeStaff(String returnTrakeStaff){
|
set("return_trake_staff", returnTrakeStaff);
|
return this;
|
}
|
|
public String getReturnNumber(){
|
return getStr("return_number");
|
}
|
|
public LoanerApplication setReturnNumber(String returnNumber){
|
set("return_number", returnNumber);
|
return this;
|
}
|
|
public String getLoanerSer(){
|
return getStr("loaner_ser");
|
}
|
|
public LoanerApplication setLoanerSer(String loanerSer){
|
set("loaner_ser", loanerSer);
|
return this;
|
}
|
|
public String getPostCode(){
|
return getStr("post_code");
|
}
|
|
public LoanerApplication setPostCode(String postCode){
|
set("post_code", postCode);
|
return this;
|
}
|
|
public String getSfRecordId(){
|
return getStr("sf_record_id");
|
}
|
|
public LoanerApplication setSfRecordId(String sfRecordId){
|
set("sf_record_id", sfRecordId);
|
return this;
|
}
|
|
public LoanerApplication findById(String dataId){
|
return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
|
}
|
}
|