21 lines
497 B
C#
21 lines
497 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Xml.Serialization;
|
|
using Intromat.ViewModels;
|
|
|
|
namespace Intromat.PersistentModel
|
|
{
|
|
public abstract class NodeModelBase
|
|
{
|
|
public abstract CodeGenNodeViewModel? CreateViewModel();
|
|
|
|
[XmlAttribute]
|
|
public Guid Guid { get; set; }
|
|
|
|
[XmlAttribute]
|
|
[DefaultValue("")]
|
|
public string Name { get; set; } = "";
|
|
|
|
public const string _namespace = "http://blu-flame.org/intromat";
|
|
}
|
|
} |