33 lines
946 B
C#
33 lines
946 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.repository.api.dto
|
|
{
|
|
public class FieldResponse
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("label")]
|
|
public string Label { get; set; } = string.Empty;
|
|
[JsonPropertyName("description")]
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("required")]
|
|
public bool Required { get; set; } = false;
|
|
|
|
[JsonPropertyName("controlType")]
|
|
public string ControlType { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("defaultValue")]
|
|
public string DefaultValue { get; set; } = string.Empty;
|
|
}
|
|
}
|