package com.ruoyi.account.bean.dto.purchase; 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 = "AccountPurchaseInvoiceDto", description = "财务管理--进项发票台账(传参)") public class AccountPurchaseInvoiceDto { @Schema(description = "供应商ID") private Integer supplierId; @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; }