package cn.nianxx.thhotel.workflows.reservation.common.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.LocalDate;

/**
 * Invoice 单据日期字段。日期为酒店本地业务日期，不是 UTC 时间点。
 *
 * @param invoiceDate Invoice 日期
 * @param bookingDate Booking Date
 * @param dueDate Due Date
 */
public record ReservationInvoiceDocumentRequest(
        @JsonProperty("invoice_date")
        LocalDate invoiceDate,
        @JsonProperty("booking_date")
        LocalDate bookingDate,
        @JsonProperty("due_date")
        LocalDate dueDate
) {
}
