From cb8baa2054a427becd39e4031798375efcc9027c Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Mon, 11 Mar 2019 15:50:07 +0200 Subject: Merge simulator from ECOMP's repository Reference commit in ECOMP: 8e92a8c6 Issue-ID: VID-378 Change-Id: Ifd87e07db55a760fc94c582758a7413103b5fdd8 Signed-off-by: Ittay Stern --- .../onap/simulator/db/entities/RoleFunction.java | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vid-ext-services-simulator/src/main/java/org/onap/simulator/db/entities/RoleFunction.java (limited to 'vid-ext-services-simulator/src/main/java/org/onap/simulator/db/entities/RoleFunction.java') diff --git a/vid-ext-services-simulator/src/main/java/org/onap/simulator/db/entities/RoleFunction.java b/vid-ext-services-simulator/src/main/java/org/onap/simulator/db/entities/RoleFunction.java new file mode 100644 index 000000000..addda5363 --- /dev/null +++ b/vid-ext-services-simulator/src/main/java/org/onap/simulator/db/entities/RoleFunction.java @@ -0,0 +1,33 @@ +package org.onap.simulator.db.entities; + +import java.io.Serializable; +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; + +@Entity(name = "fn_role_function") +public class RoleFunction implements Serializable { + + @Id + @Column(name = "role_id") + private Integer id; + @Id + @Column(name = "function_cd") + private String code; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } +} -- cgit 1.2.3-korg