Children
This commit is contained in:
21
Adaptation/FileHandlers/json/WorkItems/Attribute.cs
Normal file
21
Adaptation/FileHandlers/json/WorkItems/Attribute.cs
Normal 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; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user