
package org.sky.scientific.pojo.entity;

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

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 企业基础信息表 实体类
 *
 * @author Kd
 * @since 2025-08-14
 */
@Data
@TableName("kd_enterprise_info")
@Schema(description = "EnterpriseInfo对象")
@EqualsAndHashCode(callSuper = true)
public class EnterpriseInfoEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "所属年份")
	@NotNull(message = "请选择年份")
	private String yearAndMonth;

	@Schema(description = "本年度营业收入（万元）")
	private BigDecimal currentYearIncome;

	@Schema(description = "本年度研发费用（万元）")
	private BigDecimal currentYearCost;

	@Schema(description = "上年度营业收入（万元）")
	private BigDecimal previousYearIncome;

	@Schema(description = "上年度研发费用（万元）")
	private BigDecimal previousYearCost;

	@Schema(description = "上上年度营业收入（万元）")
	private BigDecimal lastYearIncome;

	@Schema(description = "上上年度研发费用（万元）")
	private BigDecimal lastYearCost;

	@Schema(description = "其他说明")
	private String remark;

	@Schema(description = "高企认定年度")
	private String highTechYear;

	@Schema(description = "高企编号")
	private String highTechNumber;

	@Schema(description = "一级高新领域")
	private String highTechDomainL1;

	@Schema(description = "二级高新领域")
	private String highTechDomainL2;

	@Schema(description = "三级高新领域")
	private String highTechDomainL3;

}
