Path: redb/redb.Tests.Integration/Models/TimeTicksModels.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/TimeTicksModels.cs
----
using redb.Core.Attributes;
namespace redb.Tests.Integration.Models;
/// TimeSpan and TimeOnly in every shape a props class holds them: plain, nullable, in an array, a list and a dictionary.
[RedbScheme("TestTimeTicks")]
public class TimeTicksProps
{
public string Tag { get; set; } = "";
public TimeSpan Span { get; set; }
public TimeSpan? MaybeSpan { get; set; }
public TimeOnly Clock { get; set; }
public TimeOnly? MaybeClock { get; set; }
public TimeSpan[]? Spans { get; set; }
public List? Clocks { get; set; }
public TimeSpan?[]? MaybeSpans { get; set; }
public Dictionary? SpanByName { get; set; }
}