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

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 javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 信息价工料机信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InfoPriceResourcePageReqVO extends PageParam {

    @Schema(description = "分类树节点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "分类树节点ID不能为空")
    private Long categoryTreeId;

    @Schema(description = "编码（模糊查询）", example = "RES001")
    private String code;

    @Schema(description = "名称（模糊查询）", example = "水泥")
    private String name;

}
