using System.Text.Json.Serialization;
using Questionable.Model.Questing.Converter;

namespace Questionable.Model.Questing;

public sealed class GatheredItem
{
    public uint ItemId { get; set; }
    public uint AlternativeItemId { get; set; }
    public int ItemCount { get; set; }
    public ushort Collectability { get; set; }

    /// <summary>
    /// Either miner or botanist; null if it is irrelevant (prefers current class/job, then any unlocked ones).
    /// </summary>
    [JsonConverter(typeof(ClassJobConverter))]
    public uint? QuestAcceptedAsClass { get; set; }
}