using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace skyscraper5.Skyscraper.Scraper.Storage
{

    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class ScrapeStorageFactoryIdAttribute : Attribute
    {
        public int Id { get; }
        public string DisplayName { get; }
        public bool VolatileStorage { get; }

        public string TemporaryUUID { get; }

        public ScrapeStorageFactoryIdAttribute(int id, string displayName, bool volatileStorage)
        {
            Id = id;
            DisplayName = displayName;
            VolatileStorage = volatileStorage;
            TemporaryUUID = Guid.NewGuid().ToString();
        }
    }
}
