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 管理员
 */
@Schema(description = "管理后台 - 预存款充值流水 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PrepaidRechargeLedgerRespVO {

    @Schema(description = "主键ID", hidden = true)
    private Long id;

    @Schema(description = "充值日期", example = "2024/01/15")
    @ExcelProperty("充值日期")
    private String rechargeDate;

    @Schema(description = "组团社", example = "长江国际旅行社")
    @ExcelProperty("组团社")
    private String travelAgency;

    @Schema(description = "充值方式", example = "转账充值")
    @ExcelProperty("充值方式")
    private String paymentTypeName;

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

    @Schema(description = "备注", example = "预存款充值")
    @ExcelProperty("备注")
    private String remark;

}
