
package org.sky.scientific.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.sky.core.mp.base.BaseEntity;
import org.sky.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.util.Date;

/**
 * 科研项目-项目结题表 实体类
 *
 * @author Kd
 * @since 2025-07-01
 */
@Data
@TableName("kd_xm_jtb")
@Schema(description = "XmJtb对象")
@EqualsAndHashCode(callSuper = true)
public class XmJtbEntity extends BaseEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "科研项目id，kd_xm的主键")
	private Long xmId;

	@Schema(description = "验收报告")
	private String ysbg;

	@Schema(description = "技术报告")
	private String jsbg;

	@Schema(description = "成果报告")
	private String cgbg;

	@Schema(description = "效益报告")
	private String xybg;

	@Schema(description = "验收批文")
	private String yspw;

	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	@Schema(description = "填报时间")
	private Date tbsj;

}
