59 lines
2.4 KiB
C#
59 lines
2.4 KiB
C#
using Manager.Interfaces.Models;
|
|
using ManagerService.Data;
|
|
using ManagerService.DTOs;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Manager.DTOs
|
|
{
|
|
public class OldMapDTO
|
|
{
|
|
public int zoom { get; set; } // Default = 18
|
|
public MapTypeApp? mapType { get; set; } // Default = Hybrid for Google
|
|
public MapTypeMapBox? mapTypeMapbox { get; set; } // Default = standard for MapBox
|
|
public MapProvider? mapProvider { get; set; } // Default = Google
|
|
public List<OldGeoPointDTO> points { get; set; }
|
|
public string iconResourceId { get; set; }
|
|
public string iconSource { get; set; } // url to firebase storage or on internet
|
|
public List<OldCategorieDTO> categories { get; set; }
|
|
public string latitude { get; set; } // Center on
|
|
public string longitude { get; set; } // Center on
|
|
}
|
|
|
|
public class OldGeoPointDTO
|
|
{
|
|
public int? id { get; set; }
|
|
public List<TranslationDTO> title { get; set; }
|
|
public List<TranslationDTO> description { get; set; }
|
|
public List<OldContentGeoPoint> contents { get; set; }
|
|
public OldCategorieDTO categorie { get; set; } // TO DELETE IN FUTURE
|
|
public int? categorieId { get; set; }
|
|
public string latitude { get; set; }
|
|
public string longitude { get; set; }
|
|
public string imageResourceId { get; set; }
|
|
public string imageUrl { get; set; }
|
|
public List<TranslationDTO> schedules { get; set; }
|
|
public List<TranslationDTO> prices { get; set; }
|
|
public List<TranslationDTO> phone { get; set; }
|
|
public List<TranslationDTO> email { get; set; }
|
|
public List<TranslationDTO> site { get; set; }
|
|
}
|
|
|
|
public class OldCategorieDTO
|
|
{
|
|
public int? id { get; set; }
|
|
public List<TranslationDTO> label { get; set; }
|
|
public string icon { get; set; } // icon material
|
|
public string iconResourceId { get; set; } // icon point geo
|
|
public string iconUrl { get; set; } // url to firebase storage or on internet
|
|
public int? order { get; set; } // Order to show
|
|
}
|
|
|
|
public class OldContentGeoPoint
|
|
{
|
|
public string resourceId { get; set; }
|
|
public ResourceType resourceType { get; set; }
|
|
public string resourceUrl { get; set; } // url to firebase storage or on internet
|
|
public string resourceName { get; set; }
|
|
}
|
|
}
|