package cn.iocoder.yudao.module.pay.controller.admin.wxorder.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 WxOrderPageReqVO extends PageParam {

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

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

    @Schema(description = "微信用户ID", example = "26852")
    private String openId;

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

    @Schema(description = "可用于分账的金额，单位：分", example = "13002")
    private Integer profitsharingPrice;

    @Schema(description = "可用于退款金额，单位：分", example = "16832")
    private Integer refundPrice;

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

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

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

}