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-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "CmsBannerGroupParam对象", description = "轮播组查询参数")
public class CmsBannerGroupParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "轮播组ID")
    @QueryField(type = QueryType.EQ)
    private Integer groupId;

    @Schema(description = "组标题")
    @QueryField(type = QueryType.LIKE)
    private String title;

    @Schema(description = "展示位置标识")
    @QueryField(type = QueryType.EQ)
    private String position;

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