138 lines
3.0 KiB
Java
138 lines
3.0 KiB
Java
package com.kaidi.oa.domain;
|
|
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.GeneratedValue;
|
|
import jakarta.persistence.GenerationType;
|
|
import jakarta.persistence.Id;
|
|
import jakarta.persistence.Column;
|
|
import jakarta.persistence.Table;
|
|
|
|
import java.time.Instant;
|
|
|
|
/**
|
|
* A government program declaration template (申报模板) used to auto-assemble a
|
|
* declaration package (申报模板自动搭建). program is one of 高新技术企业 /
|
|
* 科技型中小企业 / 省重点研发计划 / 专精特新 / 创新平台; status is one of 启用 /
|
|
* 停用. requiredMaterials is a comma-separated list of mandatory materials;
|
|
* autoCheckRules is a comma-separated list of system self-check rules;
|
|
* bodyTemplate holds the long-form declaration body with placeholders such as
|
|
* {企业名称} {申报年度} {研发投入}.
|
|
*/
|
|
@Entity
|
|
@Table(name = "declaration_template")
|
|
public class DeclarationTemplate {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
|
|
private String name;
|
|
|
|
private String program;
|
|
|
|
private String authority;
|
|
|
|
private String requiredMaterials;
|
|
|
|
private String autoCheckRules;
|
|
|
|
@Column(columnDefinition = "TEXT")
|
|
private String bodyTemplate;
|
|
|
|
private String version;
|
|
|
|
private String status;
|
|
|
|
private String updatedBy;
|
|
|
|
private Instant createdAt;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getProgram() {
|
|
return program;
|
|
}
|
|
|
|
public void setProgram(String program) {
|
|
this.program = program;
|
|
}
|
|
|
|
public String getAuthority() {
|
|
return authority;
|
|
}
|
|
|
|
public void setAuthority(String authority) {
|
|
this.authority = authority;
|
|
}
|
|
|
|
public String getRequiredMaterials() {
|
|
return requiredMaterials;
|
|
}
|
|
|
|
public void setRequiredMaterials(String requiredMaterials) {
|
|
this.requiredMaterials = requiredMaterials;
|
|
}
|
|
|
|
public String getAutoCheckRules() {
|
|
return autoCheckRules;
|
|
}
|
|
|
|
public void setAutoCheckRules(String autoCheckRules) {
|
|
this.autoCheckRules = autoCheckRules;
|
|
}
|
|
|
|
public String getBodyTemplate() {
|
|
return bodyTemplate;
|
|
}
|
|
|
|
public void setBodyTemplate(String bodyTemplate) {
|
|
this.bodyTemplate = bodyTemplate;
|
|
}
|
|
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(String version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public String getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(String status) {
|
|
this.status = status;
|
|
}
|
|
|
|
public String getUpdatedBy() {
|
|
return updatedBy;
|
|
}
|
|
|
|
public void setUpdatedBy(String updatedBy) {
|
|
this.updatedBy = updatedBy;
|
|
}
|
|
|
|
public Instant getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(Instant createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
}
|