using System; namespace HN.Domain { public sealed class Comment : Votable { public Guid Id { get; } public Guid LinkId { get; } public string Content { get; } public Guid CreatedBy { get; } public DateTime CreatedAt { get; } internal Comment(Guid linkId, Guid createdBy, string content) : base() { Id = Guid.NewGuid(); LinkId = linkId; CreatedBy = createdBy; Content = content; CreatedAt = DateTime.UtcNow; } } }