
package org.sky.scientific.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

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


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

	@Serial
	private static final long serialVersionUID = 1L;

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

	@NotBlank(message = "专利号不能为空")
	@ExcelProperty(index = 1, value = "专利号")
	private String zlh;

 	@NotBlank(message = "专利名称不能为空")
	@ExcelProperty(index = 2, value = "专利名称")
	private String zlmc;

	@NotBlank(message = "专利类型不能为空")
	@ExcelProperty(index = 3, value = "专利类型")
	private String zllx;

	@NotBlank(message = "是否国防专利不能为空")
	@ExcelProperty(index = 4, value = "是否国防专利，是，否")
	private String sfgfzl;

	@NotBlank(message = "国别不能为空")
	@ExcelProperty(index = 5, value = "国别")
	private String gb;

	@NotBlank(message = "申请号/专利号不能为空")
	@ExcelProperty(index = 6, value = "申请号/专利号")
	private String sqhZlh;

//	@NotBlank(message = "申请日不能为空")
	@ExcelProperty(index = 7, value = "申请日")
	private Date shenqingRq;

	private String shenqingRqStr;

//	@NotBlank(message = "授权日不能为空")
	@ExcelProperty(index = 8, value = "授权日")
//	@DateTimeFormat(DateUtil.PATTERN_DATE)
//	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date shouquanRq;

	private String shouquanRqStr;

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

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

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

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

	@NotBlank(message = "法律状态不能为空")
	@ExcelProperty(index = 13, value = "法律状态")
	private String flzt;

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

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

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

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