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_a107012")
@Schema(description = "A107012研发费用加计扣除优惠明细表")
public class A107012 extends TenantEntity {

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

	@Schema(description = "四、本年形成无形资产摊销额")
	private BigDecimal d43;
	@Schema(description = "五、以前年度形成无形资产本年摊销额")
	private BigDecimal d44;
	@Schema(description = "减：特殊收入部分")
	private BigDecimal d46;
	@Schema(description = "减：当年销售研发活动直接形成产品（包括组成部分）对应的材料部分")
	private BigDecimal d48;
	@Schema(description = "减：以前年度销售研发活动直接形成产品（包括组成部分）对应的材料部分结转金额")
	private BigDecimal d49;
}
