This commit is contained in:
2024-09-13 14:14:22 -07:00
parent 45502a30a9
commit 513e8ae4fc
7 changed files with 234 additions and 8 deletions

View File

@ -0,0 +1,21 @@
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; }
}