
package org.sky.scientific.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import org.sky.core.tenant.mp.TenantEntity;
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-06-29
 */
@Data
@TableName("kd_cg_rjzzq")
@Schema(description = "CgRjzzq对象")
@EqualsAndHashCode(callSuper = true)
public class CgRjzzqEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "软件名称")
	private String rjmc;

	@Schema(description = "软件简称")
	private String rjjc;

	@Schema(description = "版本号")
	private String bbh;

	@Schema(description = "登记号")
	private String djh;

	@Schema(description = "开发完成日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date kfwcrq;

	@Schema(description = "首次发布日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date scfbrq;

	@Schema(description = "登记批准日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date djpzrq;

	@Schema(description = "取得方式")
	private String qdfs;

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

	@Schema(description ="项目编号")
	private String xmbh;

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

	@Schema(description = "附件")
	private String attachment;


}
