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 DistributorBalanceRespVO {

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

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

    @Schema(description = "累计充值金额", example = "10000.00")
    @NumberFormat("0.00")
    @ExcelProperty("累计充值金额")
    private BigDecimal totalRechargeAmount;

    @Schema(description = "累计消费金额", example = "5000.00")
    @NumberFormat("0.00")
    @ExcelProperty("累计消费金额")
    private BigDecimal totalConsumeAmount;

    @Schema(description = "余额", example = "5000.00")
    @NumberFormat("0.00")
    @ExcelProperty("余额")
    private BigDecimal balance;

}
