2021-04-07 17:52:37 +02:00

27 lines
985 B
C#

using Manager.Interfaces.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Manager.Interfaces.DTO
{
public class MapDTO : SectionDTO
{
public int Zoom { get; set; } // Default = 18
public MapType MapType { get; set; } // Default = Hybrid
public List<GeoPointDTO> Points { get; set; }
public string Icon { get; set; } // url to ressource id (local) or on internet
}
public class GeoPointDTO
{
public int Id { get; set; }
public string Title { get; set; } // Dictionary<string, object> with all languages
public string Description { get; set; } // Dictionary<string, object> with all languages
public string Image { get; set; } // url to ressource id (local) or on internet
public string Text { get; set; } // Dictionary<string, object> with all languages
public string Latitude { get; set; }
public string Longitude { get; set; }
}
}