2024-09-13 14:14:22 -07:00

21 lines
405 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;
}
public bool IsLocked { get; set; } // { init; get; }
public string Name { get; set; } // { init; get; }
}