|
|
|
|
package com.dxhy.sign.entity;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
|
|
|
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
|
|
|
|
|
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
|
|
|
|
|
import com.alibaba.excel.annotation.write.style.HeadStyle;
|
|
|
|
|
import com.alibaba.excel.enums.poi.BorderStyleEnum;
|
|
|
|
|
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
|
|
|
|
|
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.apache.poi.ss.usermodel.BorderStyle;
|
|
|
|
|
import org.apache.poi.ss.usermodel.FillPatternType;
|
|
|
|
|
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@ColumnWidth(30)
|
|
|
|
|
@ContentFontStyle(fontHeightInPoints = 10)
|
|
|
|
|
@HeadFontStyle(fontHeightInPoints = 12,fontName = "等线")
|
|
|
|
|
@HeadStyle(borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderLeft = BorderStyleEnum.THIN,
|
|
|
|
|
borderRight = BorderStyleEnum.THIN,fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND,horizontalAlignment =
|
|
|
|
|
HorizontalAlignmentEnum.CENTER)
|
|
|
|
|
public class QsExcelEntity {
|
|
|
|
|
|
|
|
|
|
//开票日期、销方单位名称、购方单位名称、发票代码、发票号码、不含税金额、税额、价税合计金额、备注,以上字段从发票中填充,
|
|
|
|
|
//签收人、签收日期取发票签收时的信息
|
|
|
|
|
/**
|
|
|
|
|
* 开票日期
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("开票日期")
|
|
|
|
|
private Date invoiceDate;
|
|
|
|
|
/**
|
|
|
|
|
* 购方名称
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("购方单位名称")
|
|
|
|
|
private String gfName;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 销方名称
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("销方单位名称")
|
|
|
|
|
private String xfName;
|
|
|
|
|
/**
|
|
|
|
|
* 发票代码
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("发票代码")
|
|
|
|
|
private String invoiceCode;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 发票号码
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("发票号码")
|
|
|
|
|
private String invoiceNo;
|
|
|
|
|
/**
|
|
|
|
|
* 金额
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("不含税金额")
|
|
|
|
|
private String invoiceAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 税额
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("税额")
|
|
|
|
|
private BigDecimal taxAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 价格合计
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("价税合计金额")
|
|
|
|
|
private BigDecimal totalAmount;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 签收人
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("签收人")
|
|
|
|
|
private String qsName;
|
|
|
|
|
/**
|
|
|
|
|
* 签收时间
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("签收时间")
|
|
|
|
|
private Date qsDate;
|
|
|
|
|
|
|
|
|
|
//凭证号
|
|
|
|
|
@ExcelProperty("凭证号")
|
|
|
|
|
private String snVoucherNumber;
|
|
|
|
|
//账期
|
|
|
|
|
@ExcelProperty("账期")
|
|
|
|
|
private String accountPeriod;
|
|
|
|
|
//过账时间
|
|
|
|
|
@ExcelProperty("过账时间")
|
|
|
|
|
private String postingTime;
|
|
|
|
|
//影像号
|
|
|
|
|
@ExcelProperty("影像号")
|
|
|
|
|
private String imageNumber;
|
|
|
|
|
//报账单号
|
|
|
|
|
@ExcelProperty("报账单号")
|
|
|
|
|
private String bzdh;
|
|
|
|
|
/**
|
|
|
|
|
* 组织编码
|
|
|
|
|
*/
|
|
|
|
|
@ExcelProperty("组织编码")
|
|
|
|
|
private String compCode;
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("报账人")
|
|
|
|
|
private String bzr;
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("入账状态")
|
|
|
|
|
private String inAccountStatus;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|