
package org.sky.scientific.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
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.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 科研项目 预算总表
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
public class XmYszbVO implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "项目id")
	private Long xmId;

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

	@Schema(description = "项目申请单位id")
	private Long xmsqdwid;

	@Schema(description = "项目申请单位")
	private String xmsqdw;

	@Schema(description = "项目开始时间")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date xmkssj;

	@Schema(description = "项目结束时间")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date xmjssj;

	@Schema(description = "项目预算总额")
	private Double xmysze;

	@Schema(description = "项目预算明细", hidden = true)
	@JsonIgnore
	private String xmyszemx;

	@Schema(description = "人员人工费用")
	private Double ryrgfy;
	@Schema(description = "直接投入费用")
	private Double zjtrfy;
	@Schema(description = "折旧费用与长期待摊费用")
	private Double zjfyycqdtfy;
	@Schema(description = "无形资产摊销费用")
	private Double wxzctxfy;
	@Schema(description = "设计费用")
	private Double sjfy;
	@Schema(description = "装备调试费用与试验费用")
	private Double zbtsysyfy;
	@Schema(description = "委托外部研究开发费")
	private Double wtwbyjkffy;
	@Schema(description = "其他费用")
	private Double qtfy;
}
