package com.hotwj.platform.pay.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.pay.domain.PayWalletTransaction;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 会员钱包流水视图对象 pay_wallet_transaction
 *
 * @author shihongwei
 * @date 2026-05-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PayWalletTransaction.class)
public class PayWalletTransactionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 钱包 id
     */
    @ExcelProperty(value = "钱包 id")
    private Long walletId;

    /**
     * 关联类型
     */
    @ExcelProperty(value = "关联类型")
    private Long bizType;

    /**
     * 关联业务编号
     */
    @ExcelProperty(value = "关联业务编号")
    private String bizId;

    /**
     * 流水号
     */
    @ExcelProperty(value = "流水号")
    private String no;

    /**
     * 流水标题
     */
    @ExcelProperty(value = "流水标题")
    private String title;

    /**
     * 交易金额
     */
    @ExcelProperty(value = "交易金额")
    private BigDecimal price;

    /**
     * 余额
     */
    @ExcelProperty(value = "余额")
    private BigDecimal balance;

    /**
     * 创建者姓名
     */
    @ExcelProperty(value = "创建者姓名")
    private String createByName;

    /**
     * 更新者姓名
     */
    @ExcelProperty(value = "更新者姓名")
    private String updateByName;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;

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