18 lines
373 B
C#
18 lines
373 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Hyperbar.Widget;
|
|
public class WidgetConfiguration
|
|
{
|
|
public string? Description { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
[JsonInclude]
|
|
internal Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
[JsonInclude]
|
|
internal bool Enabled { get; set; }
|
|
}
|
|
|
|
public class WidgetConfiguration<TConfiguration>;
|