package com.xunhong.erp.turbo.api.infra.dto.qry;

import com.xunhong.erp.turbo.api.infra.dto.enums.CategoryTypeEnum;
import com.xunhong.erp.turbo.base.dto.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Schema(title = "分类")
@EqualsAndHashCode(callSuper = true)
public class CategoryPageQry extends PageQuery {

	@Schema(title = "分类类型", hidden = true)
	public CategoryTypeEnum type;

	@Schema(title = "分类类型")
	public List<CategoryTypeEnum> typeList;

	@Schema(title = "分类名称")
	public String name;
}
