Path: redb/redb.Tests.Integration/Models/EnumComparisonModels.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Models/EnumComparisonModels.cs ---- using redb.Core.Attributes; namespace redb.Tests.Integration.Models; public enum ComparisonShade { Red, Green, Blue } /// /// An enum field, nullable and not, each with a text twin holding the name the enum is stored by: a filter on the enum /// must return the ids the same filter on the twin returns. /// [RedbScheme("TestEnumComparison")] public class EnumComparisonProps { public string Tag { get; set; } = string.Empty; public ComparisonShade? Maybe { get; set; } public string? MaybeName { get; set; } public ComparisonShade Always { get; set; } public string AlwaysName { get; set; } = string.Empty; }