Reduce number of parameters in constructor
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / transport / EcompUserRoles.java
index 73409ed..644aa3d 100644 (file)
@@ -33,7 +33,7 @@
  *
  * ============LICENSE_END============================================
  *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * 
  */
 package org.onap.portalapp.portal.transport;
 
@@ -97,7 +97,27 @@ public class EcompUserRoles implements Serializable{
        @Id
        @Column(name = "active_yn")
        private boolean active;
+       
+       @Id
+    @Column(name = "function_cd")
+    private String functionCode;
+    @Id
+    @Column(name = "function_name")
+    private String functionName;
+
  
+       public String getFunctionCode() {
+               return functionCode;
+       }
+       public void setFunctionCode(String functionCode) {
+               this.functionCode = functionCode;
+       }
+       public String getFunctionName() {
+               return functionName;
+       }
+       public void setFunctionName(String functionName) {
+               this.functionName = functionName;
+       }
        public Long getOrgId() {
                return orgId;
        }