Path: redb/redb.Templates/templates/redb-worker/RedbWorker.Module/Models/Order.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.Templates/templates/redb-worker/RedbWorker.Module/Models/Order.cs
----
using redb.Core.Attributes;
namespace RedbWorker.Module.Models;
/// An accepted order, stored in redb. The order id is also the object's unique key.
[RedbScheme("Order")]
public class Order
{
public string OrderId { get; set; } = "";
public string Customer { get; set; } = "";
public decimal Amount { get; set; }
public string Currency { get; set; } = "";
/// The name of the file the order came in.
public string SourceFile { get; set; } = "";
}