fleshout backend
This commit is contained in:
15
backend/Data/User.cs
Normal file
15
backend/Data/User.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Backend.Data;
|
||||
|
||||
/// <summary>
|
||||
/// Placeholder domain entity. Replace with the real model once the project has one.
|
||||
/// </summary>
|
||||
public sealed class User
|
||||
{
|
||||
public Guid Id { get; init; } = Guid.NewGuid();
|
||||
|
||||
public required string Email { get; set; }
|
||||
|
||||
public required string DisplayName { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; init; } = DateTime.UtcNow;
|
||||
}
|
||||
Reference in New Issue
Block a user