20 lines
853 B
C#
20 lines
853 B
C#
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 string Slug { get; set; } = string.Empty;
|
|
public int ReadingTime { get; set; }
|
|
public string Summery { get; set; } = string.Empty;
|
|
public string MainImage { 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 Guid AuthorId { get; set; }
|
|
public string AuthorFullName { get; set; } = string.Empty;
|
|
public List<StorageFileSDto> Files { get; set; } = new();
|
|
} |