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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 用户钱包 Response VO")
@Data
@ExcelIgnoreUnannotated
public class KeyboardUserWalletRespVO {

    @Schema(description = "主键 Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6708")
    @ExcelProperty("主键 Id")
    private Long id;

    @Schema(description = "用户 id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15535")
    @ExcelProperty("用户 id")
    private Long userId;

    @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, example = "2")
    @ExcelProperty("状态")
    private Short status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createdAt;

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

}