import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
-import org.onap.portal.domain.dto.DomainVo;
+import org.onap.portal.domain.db.DomainVo;
@Getter
@Setter
-@EqualsAndHashCode
+@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class CentralV2RoleFunction extends DomainVo implements Serializable, Comparable {
public CentralV2RoleFunction(Long id, String code, String name, Long appId, String type, String action,
String editUrl) {
super();
- this.id = id;
+ super.setId(id);
this.code = code;
this.name = name;
this.appId = appId;
public CentralV2RoleFunction(Long id, String code, String name, Long appId, String editUrl) {
super();
- this.id = id;
+ super.setId(id);
this.code = code;
this.name = name;
this.appId = appId;