//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
using System.Net;
namespace Astral.Services.Dtos;
///
/// Perform the creation of a new user.
///
public class CreateUserDto
{
///
/// New user's username. Must be unique.
///
public string Username { get; set; }
///
/// New user's email address. Must be unique.
///
public string Email { get; set; }
///
/// New user's password. Must comply with password policy.
///
public string Password { get; set; }
///
/// New user's IP address upon registration.
///
public IPAddress IpAddress { get; set; }
///
/// If activation should be performed immediately.
///
public bool ActivateImmediately { get; set; }
}