RentalPayment To Help for Developers

A payment to a Rental.

Table: rental_payment

amount
dollar amount
id
unique id
rental_id
foreign key to rental
the_date
date the payment was made
time
time the payment was made
transaction_id
transaction id of online payment
type
D (credit), C (check), S (cash), O (online)
user_id
foreign key to user - the user who entered the payment

Relations

rentalrentalbelongs_to
useruserbelongs_to