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