package org.ruoyi.system.domain.vo;

import org.ruoyi.system.domain.ChatVoucher;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 用户兑换记录视图对象 chat_voucher
 *
 * @author Lion Li
 * @date 2024-05-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ChatVoucher.class)
public class ChatVoucherVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    private String userName;

    /**
     * 兑换码
     */
    @ExcelProperty(value = "兑换码")
    private String code;

    /**
     * 兑换金额
     */
    @ExcelProperty(value = "兑换金额")
    private Double amount;

    /**
     * 兑换状态
     */
    @ExcelProperty(value = "兑换状态")
    private String status;

    /**
     * 兑换前余额
     */
    @ExcelProperty(value = "兑换前余额")
    private Double balanceBefore;

    /**
     * 兑换后余额
     */
    @ExcelProperty(value = "兑换后余额")
    private Double balanceAfter;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    @ExcelProperty(value = "创建时间")
    private String createTime;


}
