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 = "CmsBannerParam对象", description = "轮播图查询参数")
public class CmsBannerParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @Schema(description = "跳转类型: 0无 1外链 2文章 3产品")
    @QueryField(type = QueryType.EQ)
    private Integer linkType;

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