20 lines
460 B
C#
20 lines
460 B
C#
|
using System.Text.Json.Serialization;
|
|||
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace LootDumpProcessor.Model
|
|||
|
{
|
|||
|
public class Foldable : ICloneable
|
|||
|
{
|
|||
|
[JsonProperty("Folded", NullValueHandling = NullValueHandling.Ignore)]
|
|||
|
[JsonPropertyName("Folded")]
|
|||
|
public bool? Folded { get; set; }
|
|||
|
|
|||
|
public object Clone()
|
|||
|
{
|
|||
|
return new Foldable
|
|||
|
{
|
|||
|
Folded = this.Folded
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|