Files
WyvernInventory/WyvernInventory.Core/Models/InventoryAttributeValue.cs
T
rickcowan 0b357e1e13 Created API Controllers (#1)
Removed strongly typed inventory objects

Added EAV inventory types

Added EAV object handling philosophy

Added controllers

Added EF Core migration integration

Reviewed-on: #1
2026-05-02 19:24:06 -05:00

16 lines
567 B
C#

namespace WyvernInventory.Core.Models;
public record InventoryAttributeValue
{
public int? Id { get; set; }
public int? ItemId { get; set; }
public InventoryItem? Item { get; set; } = null!;
public int? AttributeDefinitionId { get; set; }
public InventoryAttributeDefinition? AttributeDefinition { get; set; } = null!;
public string? StringValue { get; set; }
public int? IntValue { get; set; }
public decimal? DecimalValue { get; set; }
public bool? BoolValue { get; set; }
public DateTime? DateTimeValue { get; set; }
}