package com.hotwj.platform.operationManagement.fundAccount.domain.vo;

import com.hotwj.platform.operationManagement.fundAccount.domain.HotFundAccount;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
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;


/**
 * 资金账户视图对象 hot_fund_account
 *
 * @author shihongwei
 * @date 2026-04-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotFundAccount.class)
public class HotFundAccountVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 公司ID（应用层保证必填）
     */
    @ExcelProperty(value = "公司ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "应=用层保证必填")
    private Long companyId;

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

    /**
     * 账户编号
     */
    @ExcelProperty(value = "账户编号")
    private String accountNo;

    /**
     * 账户类型：1=个人 2=企业
     */
    @ExcelProperty(value = "账户类型：1=个人 2=企业")
    private Long accountType;

    /**
     * 可用余额
     */
    @ExcelProperty(value = "可用余额")
    private BigDecimal balanceAmount;

    /**
     * 状态：1=正常 0=禁用
     */
    @ExcelProperty(value = "状态：1=正常 0=禁用")
    private Long status;

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

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

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


}
