Files
ERP/oa-backend/src/main/java/com/kaidi/oa/domain/IpKnowledge.java
T

127 lines
2.7 KiB
Java

package com.kaidi.oa.domain;
import java.time.Instant;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Column;
import jakarta.persistence.Table;
/**
* 知识产权内部知识库(知识产权部,需求功能16「内部知识库」— 补深 PARTIAL)。
*
* 存档过往无效宣告案例、侵权诉讼判决、专利布局策略文档:分类 docType(无效宣告/侵权判决/
* 布局策略/检索报告/其他),技术关键词 keywords(逗号分隔,供按关键词检索),正文 content。
*/
@Entity
@Table(name = "ip_knowledge")
public class IpKnowledge {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String title;
/** 无效宣告 / 侵权判决 / 布局策略 / 检索报告 / 其他。 */
private String docType;
private String techField;
/** 技术关键词(逗号分隔,供按关键词检索)。 */
private String keywords;
@Column(columnDefinition = "TEXT")
private String content;
private String source;
private String author;
private Instant createdAt;
private Instant updatedAt;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDocType() {
return docType;
}
public void setDocType(String docType) {
this.docType = docType;
}
public String getTechField() {
return techField;
}
public void setTechField(String techField) {
this.techField = techField;
}
public String getKeywords() {
return keywords;
}
public void setKeywords(String keywords) {
this.keywords = keywords;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public Instant getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Instant createdAt) {
this.createdAt = createdAt;
}
public Instant getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Instant updatedAt) {
this.updatedAt = updatedAt;
}
}