21 lines
743 B
C#
21 lines
743 B
C#
namespace BlueLaminate.EFCore.Entities;
|
|
|
|
public class SkinInstance
|
|
{
|
|
public int Id { get; set; }
|
|
public int SkinId { get; set; }
|
|
public Skin Skin { get; set; } = null!;
|
|
public int ConditionId { get; set; }
|
|
public SkinCondition Condition { get; set; } = null!;
|
|
|
|
// FloatValue + PaintSeed form a stable fingerprint across trades; the Steam
|
|
// asset_id changes on every trade but these do not.
|
|
public decimal FloatValue { get; set; }
|
|
public string PaintSeed { get; set; } = null!;
|
|
public bool StatTrak { get; set; }
|
|
public bool Souvenir { get; set; }
|
|
public DateTimeOffset FirstSeenAt { get; set; }
|
|
|
|
public ICollection<InventoryItem> InventoryItems { get; set; } = new List<InventoryItem>();
|
|
}
|