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

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

    @Schema(description = "规格名称")
    private String specName;

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

    @Schema(description = "商户ID")
    @QueryField(type = QueryType.EQ)
    private Long merchantId;

    @Schema(description = "创建用户")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "更新者")
    @QueryField(type = QueryType.EQ)
    private Integer updater;

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

    @Schema(description = "状态, 0正常, 1待修,2异常已修，3异常未修")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

}
