package org.xcolab.client.proposals.pojo.attributes;

import org.springframework.core.ParameterizedTypeReference;

import org.xcolab.util.http.client.types.TypeProvider;

import java.util.List;
import java.util.Map;

public class ProposalAttributeHelperDataDto {

    private static final long serialVersionUID = 1;

    public static final TypeProvider<ProposalAttributeHelperDataDto> TYPES =
            new TypeProvider<>(ProposalAttributeHelperDataDto.class,
                    new ParameterizedTypeReference<List<ProposalAttributeHelperDataDto>>() {});

    private Map<String, Map<Long, ProposalAttribute>> attributesByNameAndAdditionalId;

    public Map<String, Map<Long, ProposalAttribute>> getAttributesByNameAndAdditionalId() {
        return attributesByNameAndAdditionalId;
    }

    public void setAttributesByNameAndAdditionalId(
            Map<String, Map<Long, ProposalAttribute>> attributesByNameAndAdditionalId) {
        this.attributesByNameAndAdditionalId = attributesByNameAndAdditionalId;
    }
}

@@ -164,16 +164,45 @@
 vider;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -283,16 +283,40 @@
 DataDto 
+implements Serializable 
 %7B%0A%0A    p

Fix non-serializable DTO