package com.yolo.keyboard.controller.admin.tenantbalance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 租户余额 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TenantBalanceRespVO {

    @Schema(description = "租户 Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13447")
    @ExcelProperty("租户 Id")
    private Long id;

    @Schema(description = "当前积分余额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("当前积分余额")
    private BigDecimal balance;

    @Schema(description = "乐观锁版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("乐观锁版本号")
    private Integer version;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updatedAt;

    @Schema(description = "冻结金额")
    private BigDecimal frozenAmt;

    @Schema(description = "可提现金额")
    private BigDecimal withdrawableBalance;
}