loan_request:

  • amount
  • duration

loan:

  • member_id

  • total_amount

  • monthly_amount

  • created_at

  • {last_payment_at}

  • {total_amount_left}

  • {total_month_left}

  • [is_completek]

  • loan_request_id

loan_payments:

  • loan_id
  • created_at

member:

  • member request loan
  • all loan request status
  • pay loan

admin:

  • admin list request loan
  • approve / reject + member detail
  • list all loan

report:

  • total money not paid
  • total money paid back
  • total money received each month

validation authorization