package com.ruoyi.account.bean.dto.sales; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; @Data @Schema(name = "AccountSalesInvoiceDto", description = "财务管理--销项发票台账(传参)") public class AccountSalesInvoiceDto { @Schema(description = "客户ID") private Integer customerId; @Schema(description = "发票号码") private String invoiceNumber; @Schema(description = "开始日期") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate startDate; @Schema(description = "结束日期") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate endDate; @Schema(description = "状态") private Integer status; }