| | |
| | | |
| | | import com.gkhy.labRiskManage.domain.basic.entity.BasicTip; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Fetch; |
| | | import org.hibernate.annotations.FetchMode; |
| | | import org.hibernate.annotations.Where; |
| | | |
| | | import javax.persistence.*; |
| | |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * |
| | |
| | | * 辨识方法:1-PHA;2-JHA;3-SCL;4-HAZOP;5-类比法 |
| | | */ |
| | | private Byte identificationMethod; |
| | | |
| | | /** |
| | | * 辨识类型1线上专家2现场专家3线上+现场 |
| | | */ |
| | | private Byte identificationType; |
| | | /** |
| | | * 辨识专家 |
| | | */ |
| | |
| | | */ |
| | | private Byte manageLevel; |
| | | |
| | | @OneToMany(fetch = FetchType.EAGER,cascade = {CascadeType.REFRESH}) |
| | | @Fetch(FetchMode.SUBSELECT) |
| | | @JoinColumn(name = "riskAssessPlanId",referencedColumnName = "id",insertable =false ,updatable = false) |
| | | private List<RiskAssessPlanIdentificationUser> riskAssessPlanIdentificationUsers; |
| | | |
| | | @OneToMany(fetch = FetchType.EAGER,cascade = {CascadeType.REFRESH}) |
| | | @Fetch(FetchMode.SUBSELECT) |
| | | @JoinColumn(name = "riskAssessPlanId",referencedColumnName = "id",insertable =false ,updatable = false) |
| | | private List<RiskAssessPlanEvaluateUser> riskAssessPlanEvaluateUsers; |
| | | |
| | | } |
| | | |