mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-09 10:19:03 -04:00
45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="Identity.cs" company="lanedirt">
|
|
// Copyright (c) lanedirt. All rights reserved.
|
|
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
|
|
// </copyright>
|
|
//-----------------------------------------------------------------------
|
|
|
|
namespace AliasVault.Generators.Identity.Models;
|
|
|
|
/// <summary>
|
|
/// Identity model.
|
|
/// </summary>
|
|
public class Identity
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the gender.
|
|
/// </summary>
|
|
public Gender Gender { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the first name.
|
|
/// </summary>
|
|
public string FirstName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last name.
|
|
/// </summary>
|
|
public string LastName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the nickname. This is also used as the username.
|
|
/// </summary>
|
|
public string NickName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the birth date.
|
|
/// </summary>
|
|
public DateTime BirthDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the email address prefix.
|
|
/// </summary>
|
|
public string EmailPrefix { get; set; } = string.Empty;
|
|
}
|