
package org.sky.scientific.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.sky.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

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


/**
 * 研发费用支出明细账 Excel实体类
 *
 * @author Kd
 * @since 2025-07-30
 */
@Data
public class XmCostDetailsExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty(value = "序号")
	private Integer serialNumber;

	@ExcelProperty(value = "日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date recordDate;

	@ExcelProperty("研发项目名称")
	private String xmmc;

 	@ExcelProperty("账簿名称")
	private String cashbook;

 	@ExcelProperty("凭证字号")
	private String voucherNumber;

	@ExcelProperty("摘要")
	private String digest;

  	@ExcelProperty("企业科目代码")
	private String eSubjectCode;

	@ExcelProperty("企业科目名称（到最末级科目）")
	private String eSubjectName;

	@ExcelProperty("金额")
	private BigDecimal amount;
}
