28 lines
637 B
C#
28 lines
637 B
C#
using System.ComponentModel;
|
|
using System.Xml.Serialization;
|
|
using Intromat.ViewModels;
|
|
|
|
namespace Intromat.PersistentModel
|
|
{
|
|
public class GroupEndpointModel
|
|
{
|
|
[XmlAttribute]
|
|
public string EndpointType { get; set; } = null!;
|
|
|
|
[XmlAttribute]
|
|
public EPortType PortType { get; set; }
|
|
|
|
[XmlAttribute]
|
|
[DefaultValue(false)]
|
|
public bool List { get; set; }
|
|
|
|
[XmlAttribute]
|
|
[DefaultValue(null)]
|
|
public string Name { get; set; } = null!;
|
|
|
|
[XmlAttribute]
|
|
[DefaultValue(0)]
|
|
public int SortIndex { get; set; }
|
|
}
|
|
}
|