package library.domain;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * One row of BOOKS.
 *
 * bookId is null for a book that hasn't been inserted yet.
 * publishedOn and replacementCost may be null (nullable columns).
 */
public record Book(Integer bookId, String isbn, String title, String author,
                   LocalDate publishedOn, BigDecimal replacementCost,
                   boolean available) {
}
