
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 CgJsbzExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ColumnWidth(20)
	@ExcelProperty(index = 1, value ="标准号")
	private String zbh;

	@ColumnWidth(20)
	@ExcelProperty(index = 2, value ="标准名称")
	private String zbmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 3, value ="标准类别")
	private String bzlb;

	@ColumnWidth(20)
	@ExcelProperty(index = 4, value ="颁布部门")
	private String bbbm;

	@ColumnWidth(20)
	@ExcelProperty(index = 5, value ="起草单位")
	private String qcdw;

	@ColumnWidth(20)
	@ExcelProperty(index = 6, value ="参与人")
	private String cyr;

	@ColumnWidth(20)
	@ExcelProperty(index = 7, value = "实施日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date ssrq;

	@ColumnWidth(20)
	@ExcelProperty(index = 8, value ="标准状态")
	private String state;

	@ColumnWidth(20)
	@ExcelProperty(index = 9, value ="参与/主持")
	private String cyZc;

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

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

}
