api/NetinaCMS.Domain/Dtos/SmallDto/BlogSDto.cs

15 lines
540 B
C#
Raw Normal View History

2024-03-24 12:35:42 +03:30
using NetinaCMS.Domain.Entities.Blogs;
namespace NetinaCMS.Domain.Dtos.SmallDto;
2024-03-09 19:53:01 +03:30
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;
}