Path: redb/redb.Tests.Integration/Models/KeyDrawModels.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/KeyDrawModels.cs
----
using redb.Core.Attributes;
namespace redb.Tests.Integration.Models;
/// An object with scalars, an array of simple values, an array of classes and a nested class.
[RedbScheme("Key draw", Name = "test_key_draw")]
public class KeyDrawProps
{
public string Tag { get; set; } = "";
public int Score { get; set; }
public int[]? Levels { get; set; }
public List? Lines { get; set; }
public KeyDrawLine? Main { get; set; }
}
public class KeyDrawLine
{
public string Name { get; set; } = "";
public int Rank { get; set; }
}