26 lines
No EOL
615 B
C#
26 lines
No EOL
615 B
C#
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace SVGLDLibs.Models
|
|
{
|
|
public class Pattern
|
|
{
|
|
|
|
public Pattern()
|
|
{
|
|
children = new List<string>();
|
|
}
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public string id { get; set; }
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public string text { get; set; }
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public string wrapper { get; set; }
|
|
|
|
[DataMember(EmitDefaultValue = true, IsRequired = true)]
|
|
public List<string> children { get; set; }
|
|
}
|
|
} |