package library.domain;

import java.time.LocalDate;

/**
 * One row of LOANS.
 *
 * loanId is null for a loan that hasn't been inserted yet.
 * returnedOn is null while the book is still out.
 */
public record Loan(Integer loanId, int bookId, int memberId, LocalDate checkedOutOn,
                   LocalDate dueOn, LocalDate returnedOn) {
}
