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

import com.cf.imes.framework.common.pojo.PageParam;
import com.cf.imes.module.executor.controller.admin.plate.vo.OrderCadViewPageGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Set;

@Schema(description = "管理后台 - WEBCAD视图板材分组条件")
@Data
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderCadViewPlatePageReqVO extends PageParam {

    @Schema(description = "订单号", example = "1024")
    @NotNull(message = "{order.cadview.plate.page.orderid.not.null}",groups = {OrderCadViewPageGroup.class})
    private Long orderId;

    @Schema(description = "柜体编号", example = "[1,2,3]")
    private Set<Long> bodyIds;

    @Schema(description = "加工组编号", example = "1024")
    private Set<Long> groupIds;

    @Schema(description = "部件编号", example = "1024")
    private Long componentId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "是否删除", example = "false")
    private Boolean deleted = false;
}
