package com.crm.manager.dto.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @author gao
 * @date 2025/7/21 15:56
 */
@Data
public class CardWalletRecordExportDto extends BaseRowModel{

    @ExcelProperty(value = "CID 账户", index = 0)
    private Long CID;

    @ExcelProperty(value = "姓名", index = 1)
    private String name;

    @ExcelProperty(value = "邮箱", index = 2)
    private String email;

    @ExcelProperty(value = "手机号", index = 3)
    private String mobile;

    @ExcelProperty(value = "交易类型", index = 4)
    private String type;

    @ExcelProperty(value = "金额", index = 5)
    private BigDecimal amount;

    @ExcelProperty(value = "手续费", index = 6)
    private BigDecimal fee;

    @ExcelProperty(value = "交易状态", index = 7)
    private String status;

    @ExcelProperty(value = "交易时间", index = 8, format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

}
