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

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "标准号")
	private String zbh;

	@Schema(description = "标准名称")
	private String zbmc;

	@Schema(description = "标准类别")
	private String bzlb;

	@Schema(description = "颁布部门")
	private String bbbm;

	@Schema(description = "起草单位")
	private String qcdw;

	@Schema(description = "参与人")
	private String cyr;

	@Schema(description = "实施日期")
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date ssrq;

	@Schema(description = "状态")
	private String state;

	@Schema(description = "参与/主持")
	private String cyZc;

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

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

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

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

}
