/*
 * Arrebol Consultancy copyright.
 *
 * This code belongs to Arrebol Consultancy
 * its use, redistribution or modification are prohibited
 * without written authorization from Arrebol Consultancy.
 */
package com.arrebol.apc.model.core.constance;

/**
 *
 * @author Carlos Janitzio Zavala Lopez <janitzio.zavala@arrebol.com.mx>
 */
public interface LoanDetailsCfg extends GenericCfg {

   String QUERY_FIND_LOAN_DETAILS_BY_LOAN = "findLoanDetailsByLoan";
   String QUERY_FIND_LOAN_DETAILS_FROM_TIKET_BY_LOAN = "findLoanDetailsFromTikedByLoan";
   String QUERY_FIND_LAST_LOAN_BY_USER = "findLatestFolioByUser";
   String QUERY_FIND_FEES_TO_PAY_BY_LOAN_ID = "findFeesToPayByLoanId";
   String QUERY_FIND_ALL_FEES_BY_LOAN_ID = "findAllFeesByLoanId";
   String QUERY_UPDATE_PAID_FEES_STATUS_IN_LOAN_DETAILS_IDS = "updatePaidFeesStatusInLoanDetailIds";
   String QUERY_COUNT_LOAN_DETAILS_IN_CURRDATE = "countLoanDetailsInCurrdate";
   String QUERY_FIND_ALL_TRANSFERS_LOAN_DETAIL = "findAllTransfersLoanDetail";
   String UPDATE_AUTHORIZE_LOAN_DETAIL = "updateAuthorizeTransferStatusInLoanDetailIds";
   String UPDATE_TRANSFER_STATUS_WHERE_ID_IN = "updateTransferStatusWhereIdIn";
   String UPDATE_REJECT_LOAN_DETAIL = "updateRejectTransferStatusInLoanDetailIds";
   String COUNT_LOAN_DETAILS_AUTHORIZE = "countLoanDetailsAuthorize";

   String FIELD_ID_LOAN = "loan";
   String FIELD_LOAN_DETAILS_TYPE = "loanDetailsType";
   String FIELD_FEE_STATUS = "feeStatus";
   String FIELD_USER = "user";
   String FIELD_COMMENS = "comments";
   String FIELD_TRANSFER_STATUS = "transferStatus";

}
