package com.ruoyi.common.pay.tm.vo;

import com.ruoyi.common.pay.tm.enums.TmRefundStatus;
import lombok.Data;

/**
 * 退款信息对象
 * @author
 * 2024/09/24
 */
@Data
public class RefundInfo {
    private String id;                   // 太米系统退款记录Id
    private Long tradeInfoId;           // 太米系统流水Id
    private String module;              // 模块: pay, mall, recharge, become_member, eatIn, takeOut, selfTake, payment_card, times_card
    private String remark;              // 备注
    private Long merchantId;            // 品牌Id
    private String shopId;                // 门店Id
    private Long merchantUserId;        // 门店员工Id
    private Long codeId;                // 款台码Id
    private Long memberInfoId;          // 会员Id
    private Long workRecordId;          // 交班记录Id
    private String fromType;            // 订单来源: wx, alipay, web, mini, pos, pc, desktop, api
    private String refundTime;          // 退款成功时间
    private String refundMessage;       // 退款失败原因
    private TmRefundStatus refundStatus;  // 退款状态: RefundStatus 枚举
    private String refundAmount;    // 已退款金额
    private String createTime;          // 创建时间
}
