package cn.iocoder.yudao.module.system.controller.admin.biz.vo.materialio.outboundreturn;

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 MaterialOutboundReturnOrderPageReqVO extends PageParam {

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "退回单号")
    private String orderNo;

    @Schema(description = "原出库单ID")
    private Long sourceOutboundOrderId;

    @Schema(description = "退回日期范围")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] orderDate;

    @Schema(description = "租户id数组")
    private Long[] tenantIds;
}

