Path: redb/redb.Templates/templates/redb-razor/Models/Product.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-razor/Models/Product.cs ---- using redb.Core.Attributes; namespace RedbRazor.Models; /// /// The Props of a product. The object's name is not here: it is the object's own field /// (RedbObject.Name). Each property is stored in a typed column, so filters and sorting on /// them run in the database. /// [RedbScheme("Product")] public class Product { public string Category { get; set; } = string.Empty; public decimal Price { get; set; } public bool InStock { get; set; } public string? Description { get; set; } }