wip
This commit is contained in:
parent
def7767b94
commit
8ad4302ec8
13 changed files with 3902 additions and 4 deletions
17
Femto.Modules.Blog/Domain/Posts/PostReaction.cs
Normal file
17
Femto.Modules.Blog/Domain/Posts/PostReaction.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
namespace Femto.Modules.Blog.Domain.Posts;
|
||||
|
||||
public class PostReaction
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public string Emoji { get; private set; } = null!;
|
||||
public int Count { get; private set; }
|
||||
|
||||
public PostReaction(string emoji, int count)
|
||||
{
|
||||
this.Id = Guid.CreateVersion7();
|
||||
this.Emoji = emoji;
|
||||
this.Count = count;
|
||||
}
|
||||
|
||||
private PostReaction() { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue