
package org.sky.scientific.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.sky.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 企业研究开发项目情况 实体类
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
public class XmAnnualSituationVO implements Serializable {


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

	@Schema(description = "研发项目来源")
	private String xmly;

	@Schema(description = "项目开展形式")
	private String xmkzxs;

 	@Schema(description = "项目当年成果形式")
	private String yqcgxs;

	@Schema(description = "项目技术经济目标")
	private String xmjsjjmb;

 	@Schema(description = "项目起始日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_YYYYMM)
	@JsonFormat(pattern = DateUtil.PATTERN_YYYYMM)
	private Date xmkssj;

 	@Schema(description = "项目完成日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_YYYYMM)
	@JsonFormat(pattern = DateUtil.PATTERN_YYYYMM)
	private Date xmjssj;




	//	@NotNull(message = "请选择项目负责人")
	@Schema(description = "项目负责人，kd_technician的主键")
	private Long xmfzr;

	@Schema(description = "项目申请单位id")
	//	@NotBlank(message = "项目申请单位不能为空")
	private String xmsqdwid;

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

	//	@NotBlank(message = "请选择研究类型")
	@Schema(description = "研究类型")
	private String yjlx;






	@Schema(description = "项目预算总额（万元）")
	private BigDecimal xmysze;

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

	@NotBlank(message = "请上传立项批文")
	@Schema(description = "立项批文")
	private String lxpw;

	@NotBlank(message = "请上传立项报告")
	@Schema(description = "立项报告")
	private String lxbg;

	@Schema(description = "其他资料")
	private String qtzl;
}
