Files
WyvernInventory/WyvernInventory.Core/Models/InventoryAttributeValue.cs
T
rickcowan 75c381e645 Removed strongly typed inventory objects
Added EAV inventory types

Added EAV object handling philosophy

Added controllers

Added EF Core migration integration
2026-05-02 19:20:34 -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; }
}