Files
marechai/Marechai.Database/Models/OldDosSoftware.cs
Natalia Portillo 7812a55570 Add old-dos.ru imports functionality and localization support
- Introduced OldDosImportsService for handling old-dos.ru imports, including methods for fetching pending items, accepting, skipping, and discarding imports.
- Added new resource files for localization in Dutch, German, Spanish, French, and Italian for the OldDos imports queue and review dialog.
- Updated AdminNavMenu to include a link to the new OldDos imports management page.
2026-05-30 15:12:53 +01:00

64 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Marechai.Data;
namespace Marechai.Database.Models;
public class OldDosSoftware : BaseModel<long>
{
[Required]
public int SourceId { get; set; }
[Required]
[StringLength(1024)]
public string SourceUrl { get; set; }
[Required]
public OldDosSoftwareStatus Status { get; set; }
[Required]
[StringLength(512)]
public string Name { get; set; }
[StringLength(512)]
public string DeveloperName { get; set; }
[StringLength(256)]
public string OsName { get; set; }
[MaxLength(262144)]
public string RussianDescription { get; set; }
[StringLength(2048)]
public string RussianCategoryPath { get; set; }
public int? OldDosCategoryId { get; set; }
public virtual OldDosCategory OldDosCategory { get; set; }
public DateTime CrawledOn { get; set; }
[StringLength(2048)]
public string LastError { get; set; }
[MaxLength(262144)]
public string EnglishDescriptionLiteral { get; set; }
[MaxLength(262144)]
public string EnglishDescriptionMuseum { get; set; }
public int MuseumDescriptionPromptVersion { get; set; }
[MaxLength(4096)]
public string SuggestedGenreIdsJson { get; set; }
[StringLength(256)]
public string ReviewedBy { get; set; }
public DateTime? ReviewedOn { get; set; }
public ulong? PromotedSoftwareId { get; set; }
public virtual ICollection<OldDosVersion> Versions { get; set; }
}