import { eProductType, eProductStatus } from "@/types/loanProduct"

export interface iListItem {
  apply_cond: string,
  apply_to: string,
  created_at: number,
  features: string,
  guarantee_type: number,
  inst_name: string,
  max_amount: number,
  max_date: number,
  min_amount: number,
  min_date: number,
  product_name: string,
  product_status: number,
  loan_type: number,
  products: string,
  rate_lower: number,
  rate_upper: number,
  submit_cond: string,
  update_at: number,
  uuid: string
}

export interface iProductModuleState {
  list: iListItem[]
  end_time: number | undefined
  limit: number | undefined
  loan_type: eProductType
  offset: number | undefined
  product_status: eProductStatus
  start_time: number | undefined
  total: number
  page:number
  product_name:string
  loading: boolean
}
