package org.dromara.payment.taxRecords.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import org.dromara.common.core.utils.StringUtils;
import org.dromara.payment.taxRecords.domain.MerTaxRecordsDetail;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.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.util.Date;



/**
 * 完税证明视图对象 mer_tax_records_detail
 *
 * @author LionLi
 * @date 2024-05-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MerTaxRecordsDetail.class)
public class MerTaxRecordsDetailVo implements Serializable {



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



    /**
     * 待完税月份
     */
    @ExcelProperty(value = "日期")
    private String month;


    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String workerName;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String cardId;

    /**
     * 银行账号
     */
    @ExcelProperty(value = "银行卡号")
    private String bankCard;

    /**
     * 收入金额（分）
     */
    @ExcelIgnore
    private Long amount;

    public String getAmountStr() {
        return StringUtils.fenToYuanFormatter(this.amount);
    }

    @ExcelProperty(value = "金额(元)")
    private String amountStr;


}
