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.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

	@Schema(title = "分类Id", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	public Long categoryId;

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