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:53:38
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopGoodsRoleCommissionParam对象", description = "商品绑定角色的分润金额查询参数")
public class ShopGoodsRoleCommissionParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

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

    private String sku;

    @QueryField(type = QueryType.EQ)
    private BigDecimal amount;

    @Schema(description = "状态, 0正常, 1异常")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

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

}
