16 lines
561 B
C#
16 lines
561 B
C#
namespace OnlyOneAccessTemplate.Models
|
|
{
|
|
public record FormField
|
|
{
|
|
public string Name { get; init; } = string.Empty;
|
|
public string Type { get; init; } = "text";
|
|
public string Label { get; init; } = string.Empty;
|
|
public string Placeholder { get; init; } = string.Empty;
|
|
public bool Required { get; init; } = false;
|
|
public string ValidationRegex { get; init; } = string.Empty;
|
|
public int Order { get; init; } = 0;
|
|
|
|
public Dictionary<string, List<string>> Properties { get; set; }
|
|
}
|
|
}
|