39 lines
920 B
Kotlin
39 lines
920 B
Kotlin
package net.dankito.banking
|
|
|
|
import java.io.File
|
|
|
|
|
|
class LuceneConfig {
|
|
|
|
companion object {
|
|
const val BankAccountIdFieldName = "bank_account_id"
|
|
|
|
const val IdFieldName = "id"
|
|
|
|
const val OtherPartyNameFieldName = "other_party_name"
|
|
|
|
const val OtherPartyBankCodeFieldName = "other_party_bank_code"
|
|
|
|
const val OtherPartyAccountIdFieldName = "other_party_account_id"
|
|
|
|
const val BookingDateFieldName = "booking_date"
|
|
const val DateSortFieldName = "value_date_sort"
|
|
|
|
const val UsageFieldName = "usage"
|
|
|
|
const val BookingTextFieldName = "booking_text"
|
|
|
|
const val AmountFieldName = "amount"
|
|
|
|
const val CurrencyFieldName = "currency"
|
|
|
|
const val BalanceFieldName = "balance"
|
|
|
|
|
|
fun getAccountTransactionsIndexFolder(indexFolder: File): File {
|
|
return File(indexFolder, "account_transactions")
|
|
}
|
|
|
|
}
|
|
|
|
} |