package com.yhy.module.core.controller.admin.resource.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "工料机项分页查询")
@Data
@EqualsAndHashCode(callSuper = true)
public class ResourceItemQueryReqVO extends PageParam {

    @Schema(description = "工料机机类树节点ID", example = "101")
    private Long categoryTreeId;

    @Schema(description = "分类节点ID（查询该节点及其子节点下的工料机）", example = "2")
    private Long catalogItemId;

    @Schema(description = "类型 labor/material/machine")
    private String type;

    @Schema(description = "关键词模糊搜索（搜索范围：工料机名称、工料机单位、目录树名称、目录树编码）")
    private String keyword;
}
