package cn.iocoder.yudao.module.pay.controller.admin.refundrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 退款记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RefundRecordPageReqVO extends PageParam {

    @Schema(description = "渠道编号", example = "13125")
    private Long channelId;

    @Schema(description = "渠道编码")
    private String channelCode;

    @Schema(description = "渠道用户编号", example = "19090")
    private String channelUserId;

    @Schema(description = "会员编号", example = "21945")
    private String userId;

    @Schema(description = "总金额，单位：分", example = "11049")
    private Integer totalPrice;

    @Schema(description = "退款状态", example = "1")
    private String status;

    @Schema(description = "商户订单号")
    private String outTradeNo;

    @Schema(description = "微信订单号", example = "26320")
    private String transactionId;

    @Schema(description = "微信退款单号")
    private String outRefundNo;

    @Schema(description = "微信支付退款单号", example = "8006")
    private String refundId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}