package cn.iocoder.yudao.module.archive.controller.admin.borrow.vo; import cn.iocoder.yudao.framework.common.pojo.PageParam; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; 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) public class ArchiveBorrowPageReqVO extends PageParam { @Schema(description = "借阅单号", example = "JY20260929000001") private String no; @Schema(description = "档案编号", example = "DA20260929000001") private String documentNo; @Schema(description = "档案标题", example = "2026年度学会工作总结") private String documentTitle; @Schema(description = "借阅人姓名", example = "张三") private String borrowerName; @Schema(description = "状态:0-草稿 15-审批中 20-借出中 30-已归还 35-已驳回", example = "20") private Integer status; @Schema(description = "借阅日期") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) private LocalDate[] borrowDate; @Schema(description = "归还期限") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) private LocalDate[] returnDeadline; }