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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 退款记录新增/修改 Request VO")
@Data
public class RefundRecordSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8454")
    private Long id;

    @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 = "总金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "11049")
    @NotNull(message = "总金额，单位：分不能为空")
    private Integer totalPrice;

    @Schema(description = "退款状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "退款状态不能为空")
    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;

}