package com.gxwebsoft.cms.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 产品分类查询参数
 *
 * @author WorkBuddy
 * @since 2026-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "CmsProductCategoryParam对象", description = "产品分类查询参数")
public class CmsProductCategoryParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "分类ID")
    @QueryField(type = QueryType.EQ)
    private Integer categoryId;

    @Schema(description = "分类名称")
    @QueryField(type = QueryType.LIKE)
    private String categoryName;

    @Schema(description = "状态: 1启用 0禁用")
    @QueryField(type = QueryType.EQ)
    private Integer status;
}
