liujie
2026-05-21 34fb8efd9fef8a6ed0d7cbaff74f37f06bf2db60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.estate.expert.admin.domain.project.info;
 
import com.estate.expert.admin.domain.common.EntityBase;
import com.estate.expert.admin.domain.project.Project;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Type;
 
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDate;
 
/**
 *
 */
@Getter
@Setter
@Entity
public class ProjectInfo extends EntityBase implements Serializable {
 
    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "project_id")
    private Project project;
 
//    /**
//     * 用于关联当前的检查任务
//     * 一个检查任务可以对一个项目提交一次项目信息
//     */
//    @ManyToOne(fetch = FetchType.LAZY)
//    @JoinColumn(name = "check_task_id")
//    private CheckTask checkTask;
 
    /**
     * 项目详情
     */
    private String detail;
 
    /**
     * 项目进展
     */
    private String progress;
 
    /**
     * 危大工程选项
     */
    @Type(type = "io.hypersistence.utils.hibernate.type.json.JsonType")
    @Column(columnDefinition = "json")
    private ProjectDangerousType[] dangerousOptions;
 
    /**
     * 超大危工程选项
     */
    @Type(type = "io.hypersistence.utils.hibernate.type.json.JsonType")
    @Column(columnDefinition = "json")
    private ProjectSuperDangerousType[] superDangerousOptions;
 
    /**
     * 风险源
     */
    @Type(type = "io.hypersistence.utils.hibernate.type.json.JsonType")
    @Column(columnDefinition = "json")
    private HazardSourceType[] hazardSource;
 
 
 
 
 
    /**
     * 近一季度施工进展情况
     */
    private String progressThisSeason;
 
    /**
     * 更新日期 yyyy-MM-dd
     */
    @Column(nullable = false)
    private LocalDate updateDate;
 
}