package org.sky.scientific.pojo.vo;

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 org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Schema(description = "研发项目成果")
public class XmCGSummary {

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

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

	@Schema(description = "申请日/完成日")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date date1;

	@Schema(description = "授权日/生效日")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date date2;

	@Schema(description = "成果类型")
	private String cglx;

}
