Path: redb/redb.Tests.Integration/Models/TrashModels.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/TrashModels.cs
----
using redb.Core.Attributes;
using redb.Core.Models.Entities;
namespace redb.Tests.Integration.Models;
/// An object that goes to the trash in the trash integrity suites.
[RedbScheme(Name = "TrashTarget")]
public class TrashTargetProps
{
public string? Title { get; set; }
}
///
/// An object that references trash targets - through a single reference and through a collection,
/// the two shapes a _values._Object row takes.
///
[RedbScheme(Name = "TrashHolder")]
public class TrashHolderProps
{
public string? Title { get; set; }
public RedbObject? Target { get; set; }
public List>? Targets { get; set; }
}