package com.seer.teach.pay.app.pay.controller.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@Schema(description = "APP支付订单响应结果")
public class AppPayOrderStatusResp {

    @Schema(description = "内部订单号")
    private String orderSn;

    @Schema(description = "渠道编码Id")
    private Long channelId;

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

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "用户类型")
    private Integer userType;

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

    @Schema(description = "商品标题")
    private String subject;

    @Schema(description = "商品描述")
    private String body;

    @Schema(description = "支付金额，单位：分")
    private Long price;

    @Schema(description = "支付状态(0-待支付，1-支付成功，2-支付失败，3-申请退款，4-取消支付)")
    private Integer status;

    @Schema(description = "订单失效时间")
    private LocalDateTime expireTime;

    @Schema(description = "订单支付成功时间")
    private LocalDateTime successTime;

    @Schema(description = "退款总金额，单位：分")
    private Long refundPrice;

}