package cn.iocoder.yudao.module.wms.controller.admin.order.shipment.vo.order; import cn.iocoder.yudao.framework.common.pojo.PageParam; import cn.iocoder.yudao.framework.common.validation.InEnum; import cn.iocoder.yudao.module.wms.enums.order.WmsOrderStatusEnum; import cn.iocoder.yudao.module.wms.enums.order.WmsShipmentOrderTypeEnum; 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.math.BigDecimal; import java.time.LocalDateTime; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; @Schema(description = "管理后台 - WMS 出库单分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public class WmsShipmentOrderPageReqVO extends PageParam { @Schema(description = "出库单号", example = "CK202605110001") private String no; @Schema(description = "单据状态", example = "0") @InEnum(WmsOrderStatusEnum.class) private Integer status; @Schema(description = "仓库编号", example = "1024") private Long warehouseId; @Schema(description = "客户编号", example = "1024") private Long merchantId; @Schema(description = "单据日期") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] orderTime; @Schema(description = "最小数量", example = "1.00") private BigDecimal totalQuantityMin; @Schema(description = "最大数量", example = "100.00") private BigDecimal totalQuantityMax; @Schema(description = "最小总金额", example = "1.00") private BigDecimal totalPriceMin; @Schema(description = "最大总金额", example = "1000.00") private BigDecimal totalPriceMax; @Schema(description = "出库类型", example = "201") @InEnum(WmsShipmentOrderTypeEnum.class) private Integer type; @Schema(description = "业务单号", example = "SO202605110001") private String bizOrderNo; @Schema(description = "创建用户", example = "1") private String creator; @Schema(description = "更新用户", example = "1") private String updater; @Schema(description = "创建时间") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] createTime; @Schema(description = "更新时间") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] updateTime; }