package cn.iocoder.yudao.module.member.controller.app.card.vo;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "用户 APP - 余额变动明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppCardRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21508")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "卡号", example = "23469")
    @ExcelProperty("卡号")
    private String cardId;

    @Schema(description = "余额")
    @ExcelProperty("余额")
    private BigDecimal money;

    @Schema(description = "加减标志（0：减，1：加）")
    @ExcelProperty("加减标志（0：减，1：加）")
    private String flag;

    @Schema(description = "变动金额")
    @ExcelProperty("变动金额")
    private BigDecimal changeMoney;

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

}