sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs
2026-08-21 22:27:59 +03:00

38 lines
991 B
C#

using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.Public;
public class BlogPostListDto : EntityDto<Guid>
{
public Guid? TenantId { get; set; }
public string Title { get; set; }
public string Slug { get; set; }
public string Summary { get; set; }
public string ReadTime { get; set; }
public string CoverImage { get; set; }
public string ContentTr { get; set; }
public string ContentEn { get; set; }
public Guid CategoryId { get; set; }
public BlogCategoryDto Category { get; set; }
public string Author { get; set; }
public int ViewCount { get; set; }
public int LikeCount { get; set; }
public int CommentCount { get; set; }
public bool IsPublished { get; set; }
public DateTime? PublishedAt { get; set; }
public DateTime CreationTime { get; set; }
public List<string> Tags { get; set; }
public BlogPostListDto()
{
Tags = [];
}
}