package org.dromara.main.domain.vo;

import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.main.domain.WithdrawAccount;

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

/**
 * 收款账户视图对象
 */
@Data
@AutoMapper(target = WithdrawAccount.class)
public class WithdrawAccountVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "账户ID")
    private Long id;

    @ExcelProperty(value = "企业ID")
    private Long companyId;

    @ExcelProperty(value = "账户类型")
    @ExcelDictFormat(dictType = "withdraw_account_type")
    private Integer accountType;

    @ExcelProperty(value = "开户人姓名")
    private String accountName;

    @ExcelProperty(value = "账号")
    private String accountNumber;

    @ExcelProperty(value = "开户银行")
    private String bankName;

    @ExcelProperty(value = "开户支行")
    private String bankBranch;

    @ExcelProperty(value = "是否默认")
    private Integer isDefault;

    @ExcelProperty(value = "状态")
    private Integer status;

    @ExcelProperty(value = "审核人ID")
    private Long auditorId;

    @ExcelProperty(value = "审核时间")
    private Date auditTime;

    @ExcelProperty(value = "审核备注")
    private String auditRemark;

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