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

	@Serial
	private static final long serialVersionUID = 1L;

	@ColumnWidth(20)
	@ExcelProperty(index = 1, value = "软件名称")
	private String rjmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 2, value ="软件简称")
	private String rjjc;

	@ColumnWidth(20)
	@ExcelProperty(index = 3, value ="版本号")
	private String bbh;

	@ColumnWidth(20)
	@ExcelProperty(index = 4, value ="登记号")
	private String djh;

	@ColumnWidth(20)
	@ExcelProperty(index = 5, value ="开发完成日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date kfwcrq;

	@ColumnWidth(20)
	@ExcelProperty(index = 6, value ="首次发布日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date scfbrq;

	@ColumnWidth(20)
	@ExcelProperty(index = 7, value ="登记批准日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date djpzrq;

	@ColumnWidth(20)
	@ExcelProperty(index = 8, value ="取得方式")
	private String qdfs;

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

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

}
