26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
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; } // 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 string data { get; set; } // == Include section type info
|
|
public DateTime dateCreation { get; set; } // == Include section type info
|
|
public int order { get; set; } // Order to show
|
|
public string instanceId { get; set; }
|
|
}
|
|
}
|