16 lines
No EOL
426 B
C#
16 lines
No EOL
426 B
C#
namespace Femto.Modules.Blog.Domain.Posts;
|
|
|
|
public class PostReaction
|
|
{
|
|
public Guid AuthorId { get; private set; }
|
|
public Guid PostId { get; private set; }
|
|
public string Emoji { get; private set; } = null!;
|
|
public PostReaction(Guid authorId, Guid postId, string emoji)
|
|
{
|
|
this.AuthorId = authorId;
|
|
this.PostId = postId;
|
|
this.Emoji = emoji;
|
|
}
|
|
|
|
private PostReaction() { }
|
|
} |