|
|
@@ -0,0 +1,48 @@
|
|
|
+package com.uas.credit.model.personal;
|
|
|
+
|
|
|
+import com.uas.credit.model.corporation.CorporationInfo;
|
|
|
+
|
|
|
+import javax.persistence.*;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author: huyy
|
|
|
+ * @date: 2018/6/14 20:28
|
|
|
+ */
|
|
|
+@Entity
|
|
|
+@Table(name = "corporation$report")
|
|
|
+public class PoliceCheckReport {
|
|
|
+ /**
|
|
|
+ * 序列号
|
|
|
+ */
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+
|
|
|
+ @Id
|
|
|
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
+ @Column(name = "id")
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ @OneToMany(mappedBy = "policeCheckReport", cascade = { CascadeType.ALL }, fetch = FetchType.EAGER)
|
|
|
+ List<PoliceCheckInfo> cisReport;
|
|
|
+
|
|
|
+ public static long getSerialVersionUID() {
|
|
|
+ return serialVersionUID;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<PoliceCheckInfo> getCisReport() {
|
|
|
+ return cisReport;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCisReport(List<PoliceCheckInfo> cisReport) {
|
|
|
+ this.cisReport = cisReport;
|
|
|
+ }
|
|
|
+}
|