init efcore
This commit is contained in:
16
BlueLaminate/BlueLaminate.EFCore/Entities/InventoryItem.cs
Normal file
16
BlueLaminate/BlueLaminate.EFCore/Entities/InventoryItem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace BlueLaminate.EFCore.Entities;
|
||||
|
||||
public class InventoryItem
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int UserId { get; set; }
|
||||
public SteamUser User { get; set; } = null!;
|
||||
public int SkinInstanceId { get; set; }
|
||||
public SkinInstance SkinInstance { get; set; } = null!;
|
||||
|
||||
// Steam asset ID — changes on trade, not a stable identifier.
|
||||
public string AssetId { get; set; } = null!;
|
||||
public DateTimeOffset AcquiredAt { get; set; }
|
||||
|
||||
public ICollection<TradeItem> TradeItems { get; set; } = new List<TradeItem>();
|
||||
}
|
||||
Reference in New Issue
Block a user