sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System;
using System.Collections.Generic;
using Sozsoft.Platform.Identity.Dto;
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 Guid UserId { get; set; }
public UserInfoViewModel User { 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 = [];
}
}