|
@@ -0,0 +1,145 @@
|
|
|
+package com.zglc.kg.entity;
|
|
|
+
|
|
|
+import lombok.Data;
|
|
|
+import org.neo4j.ogm.annotation.NodeEntity;
|
|
|
+import org.neo4j.ogm.annotation.Property;
|
|
|
+
|
|
|
+import javax.persistence.*;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+
|
|
|
+@NodeEntity(label = "device")
|
|
|
+public class Device1Entity {
|
|
|
+
|
|
|
+ @Id
|
|
|
+ @GeneratedValue
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ @Property(name = "device_name")
|
|
|
+ private String device_name;
|
|
|
+
|
|
|
+ @Property(name = "device_type")
|
|
|
+ private Integer device_type;
|
|
|
+
|
|
|
+ @Property(name = "device_describe")
|
|
|
+ private String device_describe;
|
|
|
+
|
|
|
+ @Property(name = "aircraft_id")
|
|
|
+ private Integer aircraft_id;
|
|
|
+
|
|
|
+ @Property(name = "aircraft_type")
|
|
|
+ private String aircraft_type;
|
|
|
+
|
|
|
+ @Property(name = "syst_id")
|
|
|
+ private Integer syst_id;
|
|
|
+
|
|
|
+ @Property(name = "syst_name")
|
|
|
+ private String syst_name;
|
|
|
+
|
|
|
+ @Property(name = "subsys_id")
|
|
|
+ private Integer subsys_id;
|
|
|
+
|
|
|
+ @Property(name = "subsys_name")
|
|
|
+ private String subsys_name;
|
|
|
+
|
|
|
+
|
|
|
+ public Device1Entity() {
|
|
|
+ }
|
|
|
+
|
|
|
+ public Device1Entity(Long id, String device_name, Integer device_type,String device_describe, Integer aircraft_id,
|
|
|
+ String aircraft_type,Integer syst_id,String syst_name,Integer subsys_id,String subsys_name) {
|
|
|
+ this.id = id;
|
|
|
+ this.device_name = device_name;
|
|
|
+ this.device_type = device_type;
|
|
|
+ this.device_describe = device_describe;
|
|
|
+ this.aircraft_id = aircraft_id;
|
|
|
+ this.aircraft_type = aircraft_type;
|
|
|
+ this.syst_id = syst_id;
|
|
|
+ this.syst_name = syst_name;
|
|
|
+ this.subsys_id = subsys_id;
|
|
|
+ this.subsys_name = subsys_name;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDevice_name() {
|
|
|
+ return device_name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDevice_name(String device_name) {
|
|
|
+ this.device_name = device_name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getDevice_type() {
|
|
|
+ return device_type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDevice_type(Integer device_type) {
|
|
|
+ this.device_type = device_type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDevice_describe() {
|
|
|
+ return device_describe;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDevice_describe(String device_describe) {
|
|
|
+ this.device_describe = device_describe;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getAircraft_id() {
|
|
|
+ return aircraft_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAircraft_id(Integer aircraft_id) {
|
|
|
+ this.aircraft_id = aircraft_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAircraft_type() {
|
|
|
+ return aircraft_type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAircraft_type(String aircraft_type) {
|
|
|
+ this.aircraft_type = aircraft_type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getSyst_id() {
|
|
|
+ return syst_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSyst_id(Integer syst_id) {
|
|
|
+ this.syst_id = syst_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSyst_name() {
|
|
|
+ return syst_name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSyst_name(String syst_name) {
|
|
|
+ this.syst_name = syst_name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getSubsys_id() {
|
|
|
+ return subsys_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSubsys_id(Integer subsys_id) {
|
|
|
+ this.subsys_id = subsys_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSubsys_name() {
|
|
|
+ return subsys_name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSubsys_name(String subsys_name) {
|
|
|
+ this.subsys_name = subsys_name;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|