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