IConfigurationOption.cs•703 B
using System.Collections.Generic;
namespace Api.DigitalPages.Interfaces.Models
{
public interface IConfigurationOption : IBaseModelV2
{
string Name { get; set; }
string Description { get; set; }
bool Required { get; set; }
bool VisibleToUser { get; set; }
List<string> FixedOptions { get; set; }
string Value { get; set; }
string DefaultValue { get; set; }
ConfigurationOptionType Type { get; set; }
}
public enum ConfigurationOptionType
{
Text,
NumberInteger,
NumberDecimal,
DateTime,
Color,
Boolean,
ImageUrl,
FileUrl,
Option
}
}