Api/Netina.Domain/Dtos/SmallDtos/BlogSDto.cs

18 lines
675 B
C#

using Netina.Common.Models.Mapper;
using Netina.Domain.Entities.Blogs;
namespace Netina.Domain.Dtos.SmallDtos;
public class BlogSDto : BaseDto<BlogSDto , 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 string MainImage { get; set; } = string.Empty;
public DateTime ModifiedAt { get; set; }
}