package org.sky.scientific.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.sky.core.tool.utils.DateUtil;
import org.sky.scientific.pojo.entity.A107_1;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "107-1 企业研究开发项目情况")
public class A107_1VO extends A107_1 {

	@Schema(description = "研发项目名称")
	private String xmmc;

	@Schema(description = "研发项目来源")
	private String xmly;

	@Schema(description = "项目开展形式")
	private String kzxs;

	@Schema(description = "项目当年成果形式")
	private String cgxs;

	@Schema(description = "项目技术经济目标")
	private String jsjjmb;

	@Schema(description = "项目起始日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_YYYYMM)
	@JsonFormat(pattern = DateUtil.PATTERN_YYYYMM)
	private Date kssj;

	@Schema(description = "项目完成日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_YYYYMM)
	@JsonFormat(pattern = DateUtil.PATTERN_YYYYMM)
	private Date jssj;

	@Schema(description = "项目研究开发人员（人）")
	private Long technicianCount;

	@Schema(description = "项目人员实际工作时间（人月）")
	private Double workTime;

	@Schema(description = "项目经费支出（千元）")
	private BigDecimal cost = BigDecimal.ZERO;

	@Schema(description = "用于科学原理的探索发现的经费总额")
	private BigDecimal cost1 = BigDecimal.ZERO;

	@Schema(description = "其中：企业自主开展")
	private BigDecimal cost2 = BigDecimal.ZERO;

	@Schema(description = "委托外单位开展")
	private BigDecimal wwfy = BigDecimal.ZERO;

	@Schema(description = "研究类型")
	private String yjlx;

}
