64 lines
1.5 KiB
C#
64 lines
1.5 KiB
C#
using ManagerService.Data.SubSection;
|
|
using System.Collections.Generic;
|
|
using System;
|
|
using static ManagerService.Data.SubSection.SectionEvent;
|
|
using Manager.DTOs;
|
|
|
|
namespace ManagerService.DTOs
|
|
{
|
|
public class EventAgendaDTO
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public List<TranslationAndResourceDTO> Label { get; set; }
|
|
|
|
public List<TranslationAndResourceDTO> Description { get; set; }
|
|
|
|
public string Type { get; set; }
|
|
|
|
public DateTime? DateAdded { get; set; }
|
|
|
|
public DateTime? DateFrom { get; set; }
|
|
|
|
public DateTime? DateTo { get; set; }
|
|
|
|
public string? Website { get; set; }
|
|
|
|
public string ResourceId { get; set; } // Background image id
|
|
|
|
public ResourceDTO Resource { get; set; } // Background image
|
|
|
|
public EventAddressDTO Address { get; set; }
|
|
|
|
public string Phone { get; set; }
|
|
|
|
public string Email { get; set; }
|
|
|
|
public string SectionAgendaId { get; set; }
|
|
|
|
}
|
|
|
|
public class EventAddressDTO
|
|
{
|
|
public string Address { get; set; }
|
|
|
|
public string StreetNumber { get; set; }
|
|
|
|
public string StreetName { get; set; }
|
|
|
|
public string City { get; set; }
|
|
|
|
public string State { get; set; }
|
|
|
|
public string PostCode { get; set; }
|
|
|
|
public string Country { get; set; }
|
|
|
|
public GeometryDTO Geometry { get; set; }
|
|
|
|
public string PolyColor { get; set; } // color of the polyline or polygon
|
|
|
|
public int Zoom { get; set; }
|
|
}
|
|
}
|