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 lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 运费模板查询参数
 *
 * @author 科技小王子
 * @since 2025-08-12 12:07:03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopExpressTemplateDetailParam对象", description = "运费模板查询参数")
public class ShopExpressTemplateDetailParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer id;

    @QueryField(type = QueryType.EQ)
    private Integer templateId;

    @Schema(description = "0按件")
    @QueryField(type = QueryType.EQ)
    private Boolean type;

    @QueryField(type = QueryType.EQ)
    private Integer provinceId;

    @QueryField(type = QueryType.EQ)
    private Integer cityId;

    @Schema(description = "首件数量/重量")
    @QueryField(type = QueryType.EQ)
    private BigDecimal firstNum;

    @Schema(description = "收件价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal firstAmount;

    @Schema(description = "续件价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal extraAmount;

    @Schema(description = "续件数量/重量")
    @QueryField(type = QueryType.EQ)
    private BigDecimal extraNum;

    @Schema(description = "状态, 0已发布, 1待审核 2已驳回 3违规内容")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

}
