using System; using System.Collections.Generic; namespace JD.SonyTrophy.Service { public sealed class Trophy { public int Id { get; } public bool IsSecret { get; } public bool IsRequiredForPlatinium { get; } public TrophyGrade Grade { get; } public IReadOnlyDictionary Translations { get; } public string ImagePath { get; } public Trophy(int id, bool isSecret, bool isRequiredForPlatinium, TrophyGrade grade, IReadOnlyDictionary translations, string imagePath) { Id = id; IsSecret = isSecret; IsRequiredForPlatinium = isRequiredForPlatinium; Grade = grade; Translations = translations ?? throw new ArgumentNullException(nameof(translations)); ImagePath = imagePath; } } }