package cn.iocoder.yudao.module.erp.controller.admin.presale.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 java.time.LocalDateTime; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; @Schema(description = "管理后台 - ERP 预定任务分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public class ErpPresaleTaskPageReqVO extends PageParam { @Schema(description = "预定任务编号", example = "YD20261030001") private String code; @Schema(description = "客户编号", example = "1024") private Long customerId; @Schema(description = "商品编号", example = "2048") private Long itemId; @Schema(description = "状态:1 待备货 2 备货中 3 已完成 4 已取消", example = "1") private Integer status; @Schema(description = "交货日期范围") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) private LocalDate[] deliveryDate; @Schema(description = "创建时间范围") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] createTime; }