user create command and user repo
This commit is contained in:
12
dotnet/AipsCore/Infrastructure/Entities/User.cs
Normal file
12
dotnet/AipsCore/Infrastructure/Entities/User.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AipsCore.Infrastructure.Entities;
|
||||
|
||||
|
||||
public class User
|
||||
{
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
[Required] [MaxLength(255)] public string Username { get; set; } = null!;
|
||||
[Required] [MaxLength(255)] public string Email { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user