| | |
| | | @Column(name = "state", nullable = false) |
| | | private Integer state = 1; |
| | | |
| | | /** |
| | | * 评审导出ZIP下载URL(最近一次导出) |
| | | */ |
| | | @Column(name = "review_export_url", length = 512) |
| | | private String reviewExportUrl; |
| | | |
| | | // 关联评分模板 |
| | | @ManyToOne(fetch = FetchType.LAZY) |
| | | @JoinColumn(name = "rating_scheme_id", insertable = false, updatable = false) |
| | |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getReviewExportUrl() { |
| | | return reviewExportUrl; |
| | | } |
| | | |
| | | public void setReviewExportUrl(String reviewExportUrl) { |
| | | this.reviewExportUrl = reviewExportUrl; |
| | | } |
| | | |
| | | // 业务方法 |
| | | public boolean isMainActivity() { |
| | | return pid == 0; |