28 lines
1.4 KiB
C#
28 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ManagerService.DTOs
|
|
{
|
|
public class SectionDTO
|
|
{
|
|
public string id { get; set; }
|
|
public string label { get; set; } // use in manager
|
|
public List<TranslationDTO> title { get; set; }
|
|
public List<TranslationDTO> description { get; set; }
|
|
public string imageId { get; set; } // == ResourceId
|
|
public string imageSource { get; set; } // == Image url
|
|
public string configurationId { get; set; }
|
|
public bool isSubSection { get; set; } // true if part of menu type
|
|
public string parentId { get; set; } // only if it's an subsection
|
|
public SectionType type { get; set; } // !! If IsSubSection == true => Type can't not be menu !
|
|
public DateTime dateCreation { get; set; } // == Include section type info
|
|
public int? order { get; set; } // Order to show
|
|
public string instanceId { get; set; }
|
|
public string latitude { get; set; } // MyVisit - Use to launch automatic content when current location is near
|
|
public string longitude { get; set; } // MyVisit - Use to launch automatic content when current location is near
|
|
public int? meterZoneGPS { get; set; } // MyVisit - Nbr of meters of the zone to launch content
|
|
public bool isBeacon { get; set; } // MyVisit - True if section use beacon, false otherwise
|
|
public int? beaconId { get; set; } // MyVisit - Beacon' identifier
|
|
}
|
|
}
|