2024-09-16 13:37:34 -07:00

21 lines
425 B
C#

using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.json.WorkItems;
public class Attribute
{
#nullable enable
[JsonConstructor]
public Attribute(bool isLocked,
string name)
{
IsLocked = isLocked;
Name = name;
}
[JsonPropertyName("isLocked")] public bool IsLocked { get; set; }
[JsonPropertyName("name")] public string Name { get; set; }
}