package org.raddatz.familienarchiv.person;

/**
 * Single source of truth for the {@code persons.generation} value range.
 * The DB CHECK in V70, the {@code PersonUpdateDTO} Bean Validation annotations,
 * and the canonical importers all reference these constants so a future widening
 * (e.g. accepting {@code G −1} ancestors) happens in one place. Mirror this file
 * by hand in the V70 migration comment when adjusting bounds.
 */
public final class PersonGeneration {

    public static final int MIN_GENERATION = 0;
    public static final int MAX_GENERATION = 10;

    private PersonGeneration() {}
}
