sharp-wawi/models/Entity.cs

30 lines
621 B
C#
Raw Normal View History

2018-07-26 16:55:41 +02:00
using System;
using System.Collections.Generic;
namespace sharpwawi.models
{
public class Entity
{
public String Key { get; set; }
public String Name { get; set; }
public String Description { get; set; }
public IDictionary<string, string> userFields = new Dictionary<string, string>();
public Entity()
{
Key = null;
Name = "unnamed entity";
Description = "";
}
2018-07-30 17:55:15 +02:00
public Entity(String key,String name)
{
Key = key;
Name = name;
Description = "";
}
2018-07-30 09:23:18 +02:00
2018-07-26 16:55:41 +02:00
}
}