
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_kylw")
@Schema(description = "CgKylw对象")
@EqualsAndHashCode(callSuper = true)
public class CgKylwEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "论文名称")
	private String lwmc;

	@Schema(description = "作者姓名")
	private String zzxm;

	@Schema(description = "通讯作者")
	private String txzz;

	@Schema(description = "第一作者单位")
	private String dyzzdw;

	@Schema(description = "发表日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date fbrq;

	@Schema(description = "期刊名称")
	private String qkmc;

	@Schema(description = "刊/卷号")
	private String kjh;

	@Schema(description = "期刊类型")
	private String qklx;

	@Schema(description = "期刊级别")
	private String qkjb;

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

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

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

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

}
