
package org.sky.scientific.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.sky.core.tool.utils.DateUtil;

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


/**
 * 科研成果-其他成果 Excel实体类
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
public class CgQtExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "序号")
	private String xh;

	@Schema(description = "成果编号")
	@ExcelProperty(index = 1)
	private String cgbh;

	@Schema(description = "成果名称")
	@ExcelProperty(index = 2)
	private String cgmc;

	@Schema(description = "成果类型")
	@ExcelProperty(index = 3)
	private String cmlx;

	@Schema(description = "颁布部门")
	@ExcelProperty(index = 4)
	private String bbbm;

	@Schema(description = "权利人")
	@ExcelProperty(index = 5)
	private String qlr;

	@Schema(description = "发明人")
	@ExcelProperty(index = 6)
	private String fmr;

	@Schema(description = "申请日期")
	@ExcelProperty(index = 7)
	@DateTimeFormat(DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date shenqingRq;

	private String shenqingRqStr;

	@Schema(description = "授权日期")
	@ExcelProperty(index = 8)
	@DateTimeFormat(DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date shouquanRq;

	private String shouquanRqStr;

	@Schema(description = "参与/主持")
	@ExcelProperty(index = 9)
	private String canyunZhuchi;

	@Schema(description = "项目名称")
	@ExcelProperty(index = 10)
	private String xmmc;

	@Schema(description = "项目编号")
	@ExcelProperty(index = 11)
	private String xmbh;

}
