mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
23 lines
649 B
C#
23 lines
649 B
C#
namespace Domain.Entities;
|
|
|
|
public sealed class UserAccount
|
|
{
|
|
// PK
|
|
public Guid UserAccountId { get; set; }
|
|
|
|
// Attributes
|
|
public string Username { get; set; } = string.Empty;
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public DateTime DateOfBirth { get; set; }
|
|
|
|
// Audit Fields
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public byte[]? RowVersion { get; set; }
|
|
|
|
// Navigation properties
|
|
public UserCredential? UserCredential { get; set; }
|
|
}
|