19 lines
780 B
C#
19 lines
780 B
C#
namespace Netina.Domain.Dtos.SmallDtos;
|
|
|
|
public class BlogSDto : BaseDto<BlogSDto , Blog>
|
|
{
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Slug { 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 float Rate { get; set; }
|
|
public int CommentCount { 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; }
|
|
public Guid AuthorId { get; set; }
|
|
public string AuthorFullName { get; set; } = string.Empty;
|
|
} |