package com.yc.ship.module.trade.controller.admin.report.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 银行流水交易明细 Response VO（同时用于 Excel 导出）
 *
 * @author auto-generated
 */
@Schema(description = "管理后台 - 银行流水交易明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BankTransactionDetailsRespVO {

    @Schema(description = "交易时间", example = "2026-02-08 15:50:07")
    @ExcelProperty("交易时间")
    private String transactionTime;

    @Schema(description = "开航时间", example = "2026/04/21")
    @ExcelProperty("开航时间")
    private String boardingTime;

    @Schema(description = "订单号/账单号", example = "CJXLY-20260421-YC-45")
    @ExcelProperty("订单号/账单号")
    private String orderNo;

    @Schema(description = "组团社", example = "重庆蓝波湾国际旅行社有限公司")
    @ExcelProperty("组团社")
    private String travelAgencyName;

    @Schema(description = "支付方式", example = "微信")
    @ExcelProperty("支付方式")
    private String paymentMethod;

    @Schema(description = "交易类型", example = "支付")
    @ExcelProperty("交易类型")
    private String transactionType;

    @Schema(description = "交易金额", example = "10000.00")
    @NumberFormat("0.00")
    @ExcelProperty("交易金额")
    private BigDecimal amount;

    @Schema(description = "银行流水号", example = "100426020818272998847032")
    @ExcelProperty("银行流水号(抓取农行流水)")
    private String bankSerialNo;

}
