package com.iqser.red.service.persistence.service.v2.api.external.model;

import com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.dossier.DossierAttributeType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DossierAttributeDefinition {

    private String id;
    private String name;
    private DossierAttributeType type;
    private String reportingPlaceholder;
    private DossierDisplaySettings displaySettings;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class DossierDisplaySettings {

        private boolean editable;
        private boolean filterable;
        private boolean displayedInDossierList;

    }

}
