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 11:55:18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopDealerOrderParam对象", description = "分销商订单记录表查询参数")
public class ShopDealerOrderParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "买家用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "订单ID")
    @QueryField(type = QueryType.EQ)
    private Integer orderId;

    @Schema(description = "订单总金额(不含运费)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal orderPrice;

    @Schema(description = "分销商用户id(一级)")
    @QueryField(type = QueryType.EQ)
    private Integer firstUserId;

    @Schema(description = "分销商用户id(二级)")
    @QueryField(type = QueryType.EQ)
    private Integer secondUserId;

    @Schema(description = "分销商用户id(三级)")
    @QueryField(type = QueryType.EQ)
    private Integer thirdUserId;

    @Schema(description = "分销佣金(一级)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal firstMoney;

    @Schema(description = "分销佣金(二级)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal secondMoney;

    @Schema(description = "分销佣金(三级)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal thirdMoney;

    @Schema(description = "订单是否失效(0未失效 1已失效)")
    @QueryField(type = QueryType.EQ)
    private Integer isInvalid;

    @Schema(description = "佣金结算(0未结算 1已结算)")
    @QueryField(type = QueryType.EQ)
    private Integer isSettled;

    @Schema(description = "结算时间")
    @QueryField(type = QueryType.EQ)
    private String settleTime;

}
