Path: redb/redb.Tests.Integration/Models/ArrayOfClassesAnyModels.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/ArrayOfClassesAnyModels.cs
----
using redb.Core.Attributes;
namespace redb.Tests.Integration.Models;
/// An array and a list of classes, for Any() with a condition over the fields of an element.
[RedbScheme("TestArrayOfClassesAny")]
public class OrderSheetProps
{
public string Tag { get; set; } = "";
public int Number { get; set; }
public OrderLine[]? Lines { get; set; }
public List? Extra { get; set; }
}
public class OrderLine
{
public string? Kind { get; set; }
public bool? Active { get; set; }
public int Qty { get; set; }
public decimal? Price { get; set; }
public DateTime? Due { get; set; }
public TimeSpan? Wait { get; set; }
}