divan/RMuseum/Models/Divan/PersonRelationSuggestionKind.cs
Anas Rashid 532d005cdb Rename Ganjoor -> Divan throughout the code
Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files,
folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*).
External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed
consistently (no pending model changes); requires a fresh database.
Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:49:01 +02:00

17 lines
626 B
C#

namespace RMuseum.Models.Divan
{
/// <summary>
/// which kind of edge a DivanPersonRelationEditSuggestion is about: a kinship tie
/// (DivanPersonRelation, via SuggestedRelationType/ExistingRelationId) or a non-family
/// affiliation tie (DivanPersonAffiliation, via SuggestedAffiliationType/ExistingAffiliationId).
/// Defaults to Family (0), so every suggestion row created before this field existed keeps being
/// read exactly as it was before - a plain kinship suggestion.
/// </summary>
public enum PersonRelationSuggestionKind
{
Family = 0,
Affiliation = 1,
}
}