
package org.sky.scientific.excel;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
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 CgZlExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ColumnWidth(20)
	@ExcelProperty(index = 1, value = "专利号")
	private String zlh;

	@ColumnWidth(20)
	@ExcelProperty(index = 2, value = "专利名称")
	private String zlmc;

	@ColumnWidth(20)
	@ExcelProperty(index = 3, value = "专利类型")
	private String zllx;

	@ColumnWidth(20)
	@ExcelProperty(index = 4, value ="是否国防专利，是，否")
	private String sfgfzl;

	@ColumnWidth(20)
	@ExcelProperty(index = 5, value ="国别")
	private String gb;

	@ColumnWidth(20)
	@ExcelProperty(index = 6, value = "申请号/专利号")
	private String sqhZlh;

	@ColumnWidth(20)
	@ExcelProperty(index = 7, value = "申请日")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date shenqingRq;

	@ColumnWidth(20)
	@ExcelProperty(index = 8, value = "授权日")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date shouquanRq;

	@ColumnWidth(20)
	@ExcelProperty(index = 9, value = "申请单位")
	private String sqdw;

	@ColumnWidth(20)
	@ExcelProperty(index = 10, value = "专利权人")
	private String zlqr;

	@ColumnWidth(20)
	@ExcelProperty(index = 11, value ="共有权人")
	private String gyqr;

	@ColumnWidth(20)
	@ExcelProperty(index = 12, value ="发明人")
	private String fmr;

	@ColumnWidth(20)
	@ExcelProperty(index = 13, value ="法律状态")
	private String flzt;

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

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

	@ColumnWidth(20)
	@ExcelProperty(index = 16, value ="收件人邮箱")
	private String sjryx;

	@ColumnWidth(20)
	@ExcelProperty(index = 17, value ="专利提醒功能给，未发送，已发送")
	private String zltxgn;
}
