Files
marechai/Marechai.Database/Models/SoftwareAttribute.cs
Natalia Portillo 681fe830f2 Add MobyGames import services and country matching functionality
- Implemented CountryMatcher for matching country names with aliases.
- Created GameAssembler to parse and assemble game data from MobyGames.
- Developed ImportService to handle the import process of games, including validation and state management.
- Added PersonMatcher and PlatformMatcher for matching and creating persons and platforms.
- Introduced SoundexHelper for phonetic matching of names.
- Built SourceDatabaseService for database interactions with MobyGames data.
- Established StateService for tracking import states and managing game processing statuses.
- Updated solution file to include MobyGames project.
2026-04-27 21:37:45 +01:00

22 lines
504 B
C#

using System.ComponentModel.DataAnnotations;
namespace Marechai.Database.Models;
public class SoftwareAttribute : BaseModel<long>
{
public ulong SoftwareReleaseId { get; set; }
public virtual SoftwareRelease SoftwareRelease { get; set; }
[Required]
[StringLength(64)]
public string Category { get; set; }
[Required]
[StringLength(128)]
public string Key { get; set; }
[Required]
[StringLength(512)]
public string Value { get; set; }
}