package org.online.etl.model.abstractions;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Entity {
	long id;
	long parentId;
	String key;
	String valueType;
	String value;
}

package org.online.etl.model.abstractions;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Entity {
	long id;
	long parentId;
	String key;
	String valueType;
	Map<String, String> attributes;
	String value;
}

Update Entity.java