package de.votian.services.dto;

import java.util.ArrayList;
import java.util.List;

public class GroupwareCancellationCommandDto {

    private Boolean notifyParticipants;
    private List<String> externalEmails = new ArrayList<>();

    public Boolean getNotifyParticipants() {
        return notifyParticipants;
    }

    public void setNotifyParticipants(Boolean notifyParticipants) {
        this.notifyParticipants = notifyParticipants;
    }

    public List<String> getExternalEmails() {
        return externalEmails;
    }

    public void setExternalEmails(List<String> externalEmails) {
        this.externalEmails = externalEmails != null ? new ArrayList<>(externalEmails) : new ArrayList<>();
    }
}
