2023-12-11 09:55:12 +08:00
|
|
|
using Volo.Abp.Application.Dtos;
|
2023-12-22 16:05:35 +08:00
|
|
|
using Yi.Framework.Bbs.Application.Contracts.Dtos.BbsUser;
|
2023-12-11 09:55:12 +08:00
|
|
|
using Yi.Framework.Rbac.Application.Contracts.Dtos.User;
|
2023-04-15 22:44:33 +08:00
|
|
|
|
2023-12-11 09:55:12 +08:00
|
|
|
namespace Yi.Framework.Bbs.Application.Contracts.Dtos.Comment
|
2023-04-15 22:44:33 +08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-10-26 15:11:45 +08:00
|
|
|
/// 单返回,返回单条评论即可
|
2023-04-15 22:44:33 +08:00
|
|
|
/// </summary>
|
2023-12-11 09:55:12 +08:00
|
|
|
public class CommentGetOutputDto : EntityDto<Guid>
|
2023-04-15 22:44:33 +08:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
public string Content { get; set; }
|
|
|
|
|
|
2023-12-11 09:55:12 +08:00
|
|
|
public Guid DiscussId { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-10-26 15:11:45 +08:00
|
|
|
/// 用户id联表为用户对象
|
2023-04-15 22:44:33 +08:00
|
|
|
/// </summary>
|
|
|
|
|
|
2023-12-22 16:05:35 +08:00
|
|
|
public BbsUserGetOutputDto User { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
/// <summary>
|
2024-10-26 15:11:45 +08:00
|
|
|
/// 根节点的评论id
|
2023-04-15 22:44:33 +08:00
|
|
|
/// </summary>
|
2023-12-11 09:55:12 +08:00
|
|
|
public Guid RootId { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
2024-10-26 15:11:45 +08:00
|
|
|
/// 被回复的CommentId
|
2023-04-15 22:44:33 +08:00
|
|
|
/// </summary>
|
2023-12-11 09:55:12 +08:00
|
|
|
public Guid ParentId { get; set; }
|
2023-04-15 22:44:33 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|