using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModelData.BusinessModel.BaseAndInterface;
using Tools;
namespace ModelData.BusinessModel.ExtraEntities
{
/// \class Region
///
/// \brief A region.
///
/// \author Deniska
/// \date 14.03.2019
public class Region : BaseOntologyEntity
{
[IndexAttrib(2)] public Region partOfRegion { set; get; }
public override Dictionary<string, string> Serialize()
{
return new Dictionary<string, string>()
{
["URL"] = this.URL ?? "",
["Название"] = this.Title ?? "",
["Является частью региона"] = this.partOfRegion?.Title ?? ""
};
}
}
}