Api/Netina.Domain/Dtos/LargDtos/BlogLDto.cs

18 lines
669 B
C#

using Netina.Common.Models.Mapper;
using Netina.Domain.Dtos.SmallDtos;
using Netina.Domain.Entities.Blogs;
namespace Netina.Domain.Dtos.LargDtos;
public class BlogLDto : BaseDto<BlogLDto , Blog>
{
public string Title { get; set; } = string.Empty;
public string Content { get; set; } = string.Empty;
public string Tags { get; set; } = string.Empty;
public int ReadingTime { get; set; }
public string Summery { get; set; } = string.Empty;
public bool IsSuggested { get; set; }
public Guid CategoryId { get; set; }
public string CategoryName { get; set; } = string.Empty;
public List<StorageFileSDto> Files { get; set; } = new();
}