28 lines
934 B
C#
28 lines
934 B
C#
using Manager.Interfaces.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Manager.Interfaces.DTO
|
|
{
|
|
public class MapDTO
|
|
{
|
|
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 List<TranslationDTO> Title { get; set; }
|
|
public List<TranslationDTO> Description { get; set; }
|
|
public string Image { get; set; } // url to ressource id (local) or on internet
|
|
public string ImageType { get; set; } // url or ressource
|
|
public List<TranslationDTO> Text { get; set; }
|
|
public string Latitude { get; set; }
|
|
public string Longitude { get; set; }
|
|
}
|
|
}
|