LANCommander/LANCommander.Server.Data/Models/Redistributable.cs
Pat Hartl ecdc5f9ce3 Add options to redistributables
Options are defined schema that the redistributable will allow a game to customize / override. This will be useful for install scripts on a redistributable. It opens up the opportunity to define a redistributable for something such as dgVoodoo and override options on a per-game basis without having to edit the config manually in the game's scripts.
2026-05-15 00:14:46 -05:00

18 lines
601 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace LANCommander.Server.Data.Models
{
[Table("Redistributables")]
public class Redistributable : BaseModel
{
public string Name { get; set; }
public string? Description { get; set; }
public string? Notes { get; set; }
public string? OptionSchema { get; set; }
public ICollection<Archive>? Archives { get; set; }
public ICollection<Script>? Scripts { get; set; }
public ICollection<Game>? Games { get; set; }
public ICollection<Page>? Pages { get; set; }
}
}