2025-12-17 11:12:13 +08:00

31 lines
756 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace YD_Event.Application.Client.Dtos;
public class AddCommentInput
{
/// <summary>
/// 对应模块IDnull表留言0代表友链的评论
/// </summary>
public long? ModuleId { get; set; }
/// <summary>
/// 顶级楼层评论ID
/// </summary>
public long? RootId { get; set; }
/// <summary>
/// 被回复的评论ID
/// </summary>
public long? ParentId { get; set; }
/// <summary>
/// 回复人ID
/// </summary>
public long? ReplyAccountId { get; set; }
/// <summary>
/// 评论内容
/// </summary>
[MaxLength(600, ErrorMessage = "内容限制600个字符内")]
[Required(ErrorMessage = "请输入内容")]
public string Content { get; set; }
}