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-01-11 10:45:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopRechargeOrderParam对象", description = "会员充值订单表查询参数")
public class ShopRechargeOrderParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "订单号")
    private String orderNo;

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

    @Schema(description = "充值方式(10自定义金额 20套餐充值)")
    @QueryField(type = QueryType.EQ)
    private Integer rechargeType;

    @Schema(description = "机构id")
    @QueryField(type = QueryType.EQ)
    private Integer organizationId;

    @Schema(description = "充值套餐ID")
    @QueryField(type = QueryType.EQ)
    private Integer planId;

    @Schema(description = "用户支付金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal payPrice;

    @Schema(description = "赠送金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal giftMoney;

    @Schema(description = "实际到账金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal actualMoney;

    @Schema(description = "用户可用余额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal balance;

    @Schema(description = "支付方式（微信/支付宝）")
    private String payMethod;

    @Schema(description = "支付状态(10待支付 20已支付)")
    @QueryField(type = QueryType.EQ)
    private Integer payStatus;

    @Schema(description = "付款时间")
    @QueryField(type = QueryType.EQ)
    private Integer payTime;

    @Schema(description = "第三方交易记录ID")
    @QueryField(type = QueryType.EQ)
    private Integer tradeId;

    @Schema(description = "来源客户端 (APP、H5、小程序等)")
    private String platform;

    @Schema(description = "所属门店ID")
    @QueryField(type = QueryType.EQ)
    private Integer shopId;

    @Schema(description = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

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

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

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

    @Schema(description = "商户编码")
    private String merchantCode;

}
