22 lines
622 B
C#
22 lines
622 B
C#
using ManagerService.Data;
|
|
using ManagerService.DTOs;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Manager.DTOs
|
|
{
|
|
public class SliderDTO
|
|
{
|
|
public List<ContentDTO> contents { get; set; }
|
|
}
|
|
|
|
public class ContentDTO
|
|
{
|
|
public List<TranslationDTO> title { get; set; }
|
|
public List<TranslationDTO> description { get; set; }
|
|
public string resourceId { get; set; }
|
|
public string resourceUrl { get; set; } // url to firebase storage or on internet
|
|
public int order { get; set; } // Order to show
|
|
public ResourceType resourceType { get; set; }
|
|
}
|
|
}
|