
package org.sky.scientific.excel;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import org.sky.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

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


/**
 * 科研成果-科研论文 Excel实体类
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class CgKylwExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;


	@ColumnWidth(20)
	@ExcelProperty(index = 1, value = "论文名称")
	private String lwmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 2 ,value = "作者姓名（按贡献排序）")
	private String zzxm;

	@ColumnWidth(20)
	@ExcelProperty(index = 3, value = "通讯作者")
	private String txzz;

	@ColumnWidth(20)
	@ExcelProperty(index = 4, value = "第一作者单位")
	private String dyzzdw;

	@ColumnWidth(20)
	@ExcelProperty(index = 5, value = "发表日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	private Date fbrq;

	@ColumnWidth(20)
	@ExcelProperty(index = 6, value = "期刊名称")
	private String qkmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 7, value = "刊/卷号")
	private String kjh;

	@ColumnWidth(20)
	@ExcelProperty(index = 8, value = "期刊类型")
	private String qklx;

	@ColumnWidth(20)
	@ExcelProperty(index = 9, value = "期刊级别")
	private String qkjb;

	@ColumnWidth(20)
	@ExcelProperty(index = 10, value = "项目名称")
	private String xmmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 11, value = "项目编号")
	private String xmbh;

}
