You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
580 B
18 lines
580 B
using CellularManagement.Domain.Common;
|
|
using MediatR;
|
|
|
|
namespace CellularManagement.Application.Features.Users.Commands.CreateUser;
|
|
|
|
/// <summary>
|
|
/// 创建用户命令
|
|
/// 用于创建新用户的命令对象
|
|
/// </summary>
|
|
/// <param name="UserName">账号</param>
|
|
/// <param name="Email">电子邮箱</param>
|
|
/// <param name="PhoneNumber">电话号码</param>
|
|
/// <param name="Password">密码</param>
|
|
public sealed record CreateUserCommand(
|
|
string UserName,
|
|
string Email,
|
|
string PhoneNumber,
|
|
string Password) : IRequest<OperationResult<CreateUserResponse>>;
|