package com.cf.imes.module.executor.controller.admin.order.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;
import java.util.Set;

/**
 *
 *
 * @author Gqr
 * @since 2026/2/2 11:34
 */
@Schema(description = "管理后台 - 订单明细打印列表查询 Request VO")
@Data
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderPrintListReqVO {

    @Schema(description = "订单编号列表", example = "[1,2]")
    @Size(min = 1, max = 100, message = "{order.component.assemble.req.orderIds.max}")
    private List<Long> orderIds;

    @Schema(description = "部件编号", example = "[1,2]")
    @Size(max = 200, message = "{order.detail.component.list.query.componentIds.max}")
    private Set<Long> componentIds;
}
