phase 1
This commit is contained in:
32
ModVersionChecker/repository/api/dto/FieldResponse.cs
Normal file
32
ModVersionChecker/repository/api/dto/FieldResponse.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user