mirror of
https://github.com/claunia/marechai.git
synced 2026-07-08 17:57:08 +00:00
- 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.
44 lines
2.0 KiB
C#
44 lines
2.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Marechai.Data;
|
|
|
|
namespace Marechai.Database.Models;
|
|
|
|
public class SoftwareRelease : BaseModel<ulong>
|
|
{
|
|
public string? Title { get; set; }
|
|
|
|
public bool IsCompilation { get; set; }
|
|
|
|
public ulong? SoftwareId { get; set; }
|
|
public virtual Software Software { get; set; }
|
|
|
|
public ulong? SoftwareVersionId { get; set; }
|
|
public virtual SoftwareVersion SoftwareVersion { get; set; }
|
|
|
|
public ulong? PlatformId { get; set; }
|
|
public virtual SoftwarePlatform Platform { get; set; }
|
|
|
|
public virtual ICollection<UnM49BySoftwareRelease> Regions { get; set; }
|
|
public virtual ICollection<LanguageBySoftwareRelease> Languages { get; set; }
|
|
|
|
[Required]
|
|
public int PublisherId { get; set; }
|
|
public virtual Company Publisher { get; set; }
|
|
|
|
public DateTime? ReleaseDate { get; set; }
|
|
[DefaultValue(DatePrecision.Full)]
|
|
public DatePrecision ReleaseDatePrecision { get; set; }
|
|
|
|
public virtual ICollection<SoftwareBarcode> Barcodes { get; set; }
|
|
public virtual ICollection<SoftwareProductCode> ProductCodes { get; set; }
|
|
public virtual ICollection<MinimumGpuBySoftwareRelease> MinimumGpus { get; set; }
|
|
public virtual ICollection<RecommendedGpuBySoftwareRelease> RecommendedGpus { get; set; }
|
|
public virtual ICollection<SoundSynthBySoftwareRelease> SupportedSoundSynths { get; set; }
|
|
public virtual ICollection<SoftwareVersionBySoftwareRelease> IncludedVersions { get; set; }
|
|
public virtual ICollection<SoftwareBySoftwareRelease> IncludedSoftware { get; set; }
|
|
public virtual ICollection<CollectedSoftwareRelease> CollectedBy { get; set; }
|
|
public virtual ICollection<SoftwareAttribute> Attributes { get; set; }
|
|
} |