
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-28
 */
@Data
public class XmOtherCostExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("序号")
	private Integer xh;

	@ExcelProperty("研发项目编号")
	private String xmbh;

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

	@ExcelProperty("费用类型")
	private String costType;

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

 	@ExcelProperty("费用内容")
	private String subjectName;

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