some changes
This commit is contained in:
parent
4ec9720541
commit
b47bac67ca
37 changed files with 397 additions and 190 deletions
17
Femto.Modules.Blog/Domain/Authors/Author.cs
Normal file
17
Femto.Modules.Blog/Domain/Authors/Author.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using Femto.Common.Domain;
|
||||
|
||||
namespace Femto.Modules.Blog.Domain.Authors;
|
||||
|
||||
public class Author : Entity
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public string Username { get; private set; } = null!;
|
||||
|
||||
private Author() { }
|
||||
|
||||
public Author(Guid userId, string username)
|
||||
{
|
||||
this.Id = userId;
|
||||
this.Username = username;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue