package cn.iocoder.yudao.module.finance.controller.admin.voucher.vo; import cn.iocoder.yudao.framework.common.pojo.PageParam; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY; @Schema(description = "管理后台 - 记账凭证分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public class FinVoucherPageReqVO extends PageParam { @Schema(description = "凭证字号", example = "记-0001") private String voucherNo; @Schema(description = "摘要") private String summary; @Schema(description = "制单人", example = "admin") private String creator; @Schema(description = "凭证状态", example = "0") private Integer status; @Schema(description = "凭证日期区间") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) private LocalDate[] voucherDate; }