package library.dto;

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

/**
 * What a client may send when creating or updating a book.
 *
 * A DTO, not a domain object: it has no bookId or available field, so a client
 * can't choose them.
 */
public record NewBook(String isbn, String title, String author, LocalDate publishedOn, BigDecimal replacementCost) {
}
