package org.raddatz.familienarchiv.geschichte;

import lombok.Data;

import java.util.List;
import java.util.UUID;

/**
 * Used for both create and update of a Geschichte. All fields are optional;
 * the service applies whatever is non-null. {@code body} is rich-text HTML and
 * is sanitised against an allow-list before persistence.
 */
@Data
public class GeschichteUpdateDTO {
    private String title;
    private String body;
    private GeschichteStatus status;
    private GeschichteType type;
    private List<UUID> personIds;
}
