using System; namespace Oqtane.Models { /// /// A setting for any kind of object like , , , etc. /// public class Setting : ModelBase { /// /// ID in the Database - mainly used to later update an existing setting. /// public int SettingId { get; set; } /// /// What kind of entity the setting is for, like `Page`, `Site` etc. /// public string EntityName { get; set; } /// /// Id of the Entity we're describing - so it could be `Site` number 2 /// public int EntityId { get; set; } /// /// Name of the setting. /// public string SettingName { get; set; } /// /// The value of this Setting. It's always a string, so make sure to convert/cast as needed. /// public string SettingValue { get; set; } /// /// Indicates if this setting is private - indicating it should be maintained on the server and not sent to the client /// public bool IsPrivate { get; set; } } }