27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using Manager.Interfaces.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Manager.Interfaces.DTO
|
|
{
|
|
public class ArticleDTO
|
|
{
|
|
public List<TranslationDTO> content { get; set; }
|
|
public bool isContentTop { get; set; } // MyVisit - True if content is displayed at top, false otherwise
|
|
public List<TranslationDTO> audioIds { get; set; }
|
|
public bool isReadAudioAuto { get; set; } // MyVisit - True for audio play when open the article / false otherwise
|
|
public List<ImageDTO> images { get; set; } // Will check if ok or if we need need type of image (simpler)
|
|
}
|
|
|
|
public class ImageDTO
|
|
{
|
|
public List<TranslationDTO> title { get; set; }
|
|
public List<TranslationDTO> description { get; set; }
|
|
public string resourceId { get; set; }
|
|
public string source { get; set; } // url to resource id (local) or on internet
|
|
public int order { get; set; } // Order to show
|
|
public ResourceType type { get; set; }
|
|
}
|
|
}
|