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.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 查询参数 * * @author 科技小王子 * @since 2024-08-09 16:33:41 */ @Data @EqualsAndHashCode(callSuper = false) @JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(value = "OrderParam对象", description = "查询参数") public class OrderParam extends BaseParam { private static final long serialVersionUID = 1L; @QueryField(type = QueryType.EQ) private Integer orderId; @ApiModelProperty(value = "订单类型,0商城订单 1预定订单 2会员卡") @QueryField(type = QueryType.EQ) private Integer type; @ApiModelProperty(value = "订单号") private String orderNo; @ApiModelProperty(value = "下单渠道,0小程序预定 1俱乐部训练场 3活动订场") @QueryField(type = QueryType.EQ) private Integer channel; @ApiModelProperty(value = "微信支付订单号") private String transactionId; @ApiModelProperty(value = "微信退款订单号") private String refundOrder; @ApiModelProperty(value = "场馆id用于权限判断") @QueryField(type = QueryType.EQ) private Integer merchantId; @ApiModelProperty(value = "商户名称") private String merchantName; @ApiModelProperty(value = "商户编号") private String merchantCode; @ApiModelProperty(value = "用户id") @QueryField(type = QueryType.EQ) private Integer uid; @ApiModelProperty(value = "使用的优惠券id") @QueryField(type = QueryType.EQ) private Integer cid; @ApiModelProperty(value = "使用的会员卡id") @QueryField(type = QueryType.EQ) private Integer vid; @ApiModelProperty(value = "关联管理员id") @QueryField(type = QueryType.EQ) private Integer aid; @ApiModelProperty(value = "核销管理员id") @QueryField(type = QueryType.EQ) private Integer adminId; @ApiModelProperty(value = "IC卡号") private String code; @ApiModelProperty(value = "真实姓名") private String name; @ApiModelProperty(value = "手机号码") private String phone; @ApiModelProperty(value = "订单总额") @QueryField(type = QueryType.EQ) private BigDecimal totalPrice; @ApiModelProperty(value = "减少的金额,使用VIP会员折扣、优惠券抵扣、优惠券折扣后减去的价格") @QueryField(type = QueryType.EQ) private BigDecimal reducePrice; @ApiModelProperty(value = "实际付款") @QueryField(type = QueryType.EQ) private BigDecimal payPrice; @ApiModelProperty(value = "用于统计") @QueryField(type = QueryType.EQ) private BigDecimal price; @ApiModelProperty(value = "价钱,用于积分赠送") @QueryField(type = QueryType.EQ) private BigDecimal money; @ApiModelProperty(value = "退款金额") @QueryField(type = QueryType.EQ) private BigDecimal refundMoney; @ApiModelProperty(value = "教练价格") @QueryField(type = QueryType.EQ) private BigDecimal coachPrice; @ApiModelProperty(value = "教练id") @QueryField(type = QueryType.EQ) private Integer coachId; @ApiModelProperty(value = "1微信支付,2积分,3支付宝,4现金,5POS机,6VIP月卡,7VIP年卡,8VIP次卡,9IC月卡,10IC年卡,11IC次卡,12免费,13VIP充值卡,14IC充值卡,15积分支付,16VIP季卡,17IC季卡") @QueryField(type = QueryType.EQ) private Boolean payType; @ApiModelProperty(value = "1已付款,2未付款") @QueryField(type = QueryType.EQ) private Boolean payStatus; @ApiModelProperty(value = "1已完成,2未使用,3已取消,4退款申请中,5退款被拒绝,6退款成功,7客户端申请退款") @QueryField(type = QueryType.EQ) private Boolean orderStatus; @ApiModelProperty(value = "优惠类型:0无、1抵扣优惠券、2折扣优惠券、3、VIP月卡、4VIP年卡,5VIP次卡、6VIP会员卡、7IC月卡、8IC年卡、9IC次卡、10IC会员卡、11免费订单、12VIP充值卡、13IC充值卡、14VIP季卡、15IC季卡") @QueryField(type = QueryType.EQ) private Boolean couponType; @ApiModelProperty(value = "二维码地址,保存订单号,支付成功后才生成") private String qrcode; @ApiModelProperty(value = "优惠说明") private String couponDesc; @ApiModelProperty(value = "vip月卡年卡、ic月卡年卡回退次数") @QueryField(type = QueryType.EQ) private Integer returnNum; @ApiModelProperty(value = "vip充值回退金额") @QueryField(type = QueryType.EQ) private BigDecimal returnMoney; @ApiModelProperty(value = "预约详情开始时间数组") private String startTime; @ApiModelProperty(value = "是否已开具发票:1已开发票,2未开发票,3不能开具发票") @QueryField(type = QueryType.EQ) private Boolean isInvoice; @ApiModelProperty(value = "付款时间") @QueryField(type = QueryType.EQ) private Integer payTime; @ApiModelProperty(value = "退款时间") @QueryField(type = QueryType.EQ) private Integer refundTime; @ApiModelProperty(value = "申请退款时间") @QueryField(type = QueryType.EQ) private Integer refundApplyTime; @ApiModelProperty(value = "过期时间") private String expirationTime; @ApiModelProperty(value = "对账情况:1=已对账;2=未对账;3=已对账,金额对不上;4=未查询到该订单") @QueryField(type = QueryType.EQ) private Integer checkBill; @ApiModelProperty(value = "备注") private String comments; @ApiModelProperty(value = "排序号") @QueryField(type = QueryType.EQ) private Integer sortNumber; @ApiModelProperty(value = "是否删除, 0否, 1是") @QueryField(type = QueryType.EQ) private Integer deleted; }