/****************************************************************************** // MARECHAI: Master repository of computing history artifacts information // ---------------------------------------------------------------------------- // // Author(s) : Natalia Portillo // // --[ License ] -------------------------------------------------------------- // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // ---------------------------------------------------------------------------- // Copyright © 2003-2026 Natalia Portillo *******************************************************************************/ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Marechai.Data; namespace Marechai.Database.Models; public class SoftwareVariant : BaseModel { public string Name { get; set; } public string Version { get; set; } public DateTime? Introduced { get; set; } public virtual SoftwareVariant Parent { get; set; } [Required] public virtual SoftwareVersion SoftwareVersion { get; set; } public ulong? MinimumMemory { get; set; } public ulong? RecommendedMemory { get; set; } public ulong? RequiredStorage { get; set; } public string PartNumber { get; set; } public string SerialNumber { get; set; } public string ProductCode { get; set; } public string CatalogueNumber { get; set; } public DistributionMode DistributionMode { get; set; } public virtual ICollection Derivates { get; set; } public virtual ICollection Companies { get; set; } public virtual ICollection Gpus { get; set; } public virtual ICollection Architectures { get; set; } public virtual ICollection Languages { get; set; } public virtual ICollection MachineFamilies { get; set; } public virtual ICollection Machines { get; set; } public virtual ICollection Media { get; set; } public virtual ICollection People { get; set; } public virtual ICollection Processors { get; set; } public virtual ICollection RequiredOperatingSystems { get; set; } public virtual ICollection RequiredSoftware { get; set; } public virtual ICollection SupportedSound { get; set; } public virtual ICollection Files { get; set; } public ulong? ParentId { get; set; } public ulong SoftwareVersionId { get; set; } }