package com.gxwebsoft.shop.param;

import java.math.BigDecimal;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 规格值查询参数
 *
 * @author 科技小王子
 * @since 2025-05-01 09:44:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopSpecValueParam对象", description = "规格值查询参数")
public class ShopSpecValueParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "规格值ID")
    @QueryField(type = QueryType.EQ)
    private Integer specValueId;

    @Schema(description = "规格组ID")
    @QueryField(type = QueryType.EQ)
    private Integer specId;

    @Schema(description = "规格值")
    private String specValue;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

}
