28 lines
710 B
C#
28 lines
710 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ModVersionChecker.data.model
|
|
{
|
|
public class FieldDef
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("label")]
|
|
public string Label { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("required")]
|
|
public bool Required { get; set; } = false;
|
|
|
|
[JsonPropertyName("control")]
|
|
public string Control { get; set; } = string.Empty;
|
|
}
|
|
}
|