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.math.BigDecimal;
import java.util.Date;

@Data
public class CostItemVO {
	@Schema(description = "凭证日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date recordDate;

	@Schema(description = "凭证字号")
	private String voucherNumber;

	@Schema(description = "摘要")
	private String digest;

	@Schema(description = "企业科目id")
	private Long eSubjectId;

	@Schema(description = "四级科目是否为高新研发费用科目，1：是，0，否")
	private int rdSubjectEnable;

	@Schema(description = "四级科目是否为加计扣除研发费用科目，1：是，0，否")
	private int adSubjectEnable;

	@Schema(description = "四级科目代码")
	private String l4Code;

	@Schema(description = "三级科目代码")
	private String l3Code;

	@Schema(description = "二级科目代码")
	private String l2Code;

	@Schema(description = "金额")
	private BigDecimal amount;

	@Schema(description = "账簿名称")
	private String cashbook;
}
