package org.sky.scientific.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.sky.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("kd_107_2")
@Schema(description = "107-2 企业研究开发活动及相关情况")
public class A107_2 extends TenantEntity {

	@Schema(description = "所属年份，yyyy")
	@NotBlank(message = "参数yearAndMonth不能为空")
	@Size(min = 4, max = 4, message = "参数yearAndMonth为年份，如：yyyy")
	private String yearAndMonth;

	@Schema(description = "其中：管理和服务人员，手填")
	private Integer d2;
	@Schema(description = "3.来自银行贷款")
	private BigDecimal d58= BigDecimal.ZERO;
	@Schema(description = "4.来自风险投资")
	private BigDecimal d55= BigDecimal.ZERO;
	@Schema(description = "5.来自其他渠道")
	private BigDecimal d56= BigDecimal.ZERO;
	@Schema(description = "高新技术企业减免税金额")
	private BigDecimal d45= BigDecimal.ZERO;
	@Schema(description = "期末机构数")
	private Integer d22;
	@Schema(description = "机构研究开发人员")
	private Integer d23;
	@Schema(description = "其中：博士毕业")
	private Integer d24;
	@Schema(description = "硕士毕业")
	private Integer d25;
	@Schema(description = "机构研究开发费用")
	private BigDecimal d26= BigDecimal.ZERO;
	@Schema(description = "专利所有权转让及许可数")
	private Integer d53;
	@Schema(description = "专利所有权转让及许可收入")
	private BigDecimal d54= BigDecimal.ZERO;
	@Schema(description = "新产品销售收入")
	private BigDecimal d36= BigDecimal.ZERO;
	@Schema(description = "其中：出口")
	private BigDecimal d37= BigDecimal.ZERO;
	@Schema(description = "期末拥有注册商标")
	private Integer d38;
	@Schema(description = "技术改造经费支出")
	private BigDecimal d46= BigDecimal.ZERO;
	@Schema(description = "购买境内技术经费支出")
	private BigDecimal d47= BigDecimal.ZERO;
	@Schema(description = "引进境外技术经费支出")
	private BigDecimal d48= BigDecimal.ZERO;
	@Schema(description = "引进境外技术的消化吸收经费支出")
	private BigDecimal d49= BigDecimal.ZERO;
	@Schema(description = "期末企业在境外设立的研究开发机构数")
	private Integer d50;
	@Schema(description = "附件")
	private String attachment;
}
