using Manager.Interfaces.Models; using System; using System.Collections.Generic; using System.Text; namespace Manager.Interfaces.DTO { public class SectionDTO { public string Id { get; set; } public string Label { get; set; } // Dictionary with all languages public string ImageId { get; set; } // == RessourceId public string Data { get; set; } // == RessourceId 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 ! } }