package com.jeeplus.centrecareful.approvalInfo.service.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @author: 徐滕
 * @version: 2023-11-03 16:26
 */
@Data
public class ZsReimbursementAmountInfoDTO extends BaseEntity {
    /**
     * 序号
     */
    @Excel(name = "序号", width = 6, orderNum = "1")
    private Integer serialNumber;
    /**
     * 关联id
     */
    private String infoId;

    /**
     * 发票代码
     */
    private String code;

    /**
     * 发票编号
     */
    @Excel(name = "发票号号", width = 22, orderNum = "3")
    private String number;

    /**
     * 金额
     */
    @Excel(name = "金额", width = 16, orderNum = "7")
    private Double amount;

    /**
     * 税额
     */
    @Excel(name = "税额", width = 16, orderNum = "8")
    private Double taxAmount;

    /**
     * 价税合计
     */
    @Excel(name = "合计", width = 16, orderNum = "9")
    private Double count;

    /**
     * 报销类型（0：普通报销；1：电子发票报销）
     */
    private String reimbursementType;

    /**
     * 发票类型（01：增值税发票；02：普通发票）
     */
    private String invoiceType;

    /**
     * 发票项目名
     */
    @Excel(name = "项目名称", width = 30, orderNum = "6")
    private String invoiceProjectName;

    /**
     * 开票时间
     */
    @Excel(name = "开票日期", width = 20, orderNum = "4")
    private String invoiceDate;

    /**
     * 开票单位
     */
    @Excel(name = "开票单位", width = 30, orderNum = "5")
    private String invoiceUnit;


    /**
     * 购买方名称
     */
    @Excel(name = "购买方名称", width = 30, orderNum = "5")
    private String buyerName;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 30, orderNum = "12")
    private String remarks;

    /**
     * 发票类型Str
     */
    @Excel(name = "发票类型", width = 20, orderNum = "2")
    private String invoiceTypeStr;
    private String officeName;

    /**
     * 报销人
     */
    @Excel(name = "报销人", width = 10, orderNum = "10")
    private String reimbursementApplicantName;

    /**
     * 报销日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销日期", exportFormat="yyyy-MM-dd", width = 12, orderNum = "11")
    private Date reimDate;

    /**
     * 报销状态
     */
    //@Excel(name = "报销状态", width = 30, orderNum = "12",dict = "status")
    private String status;
}
