Class CreateUserCommand
Namespace: Identity.Application.Requests.Handlers.User
Assembly: Identity.Application.dll
Command that it passed through request body, contains the updated fields.
public sealed class CreateUserCommand : IRequest<Result<UserResponse>>, IBaseRequest
Inheritance
object ← CreateUserCommand
Implements
IRequest<Result<UserResponse\>\>, IBaseRequest
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Color
[Required]
public long Color { get; init; }
Property Value
[Required]
[EmailAddress]
[StringLength(100)]
public string Email { get; init; }
Property Value
Firstname
[Required]
[StringLength(50)]
public string Firstname { get; init; }
Property Value
Lastname
[Required]
[StringLength(50)]
public string Lastname { get; init; }
Property Value
Password
[Required]
[StringLength(200)]
public string Password { get; init; }
Property Value
RestaurantId
public Guid? RestaurantId { get; init; }
Property Value
Guid?
RoleId
[Required]
public Guid RoleId { get; set; }
Property Value
Username
[Required]
[StringLength(50)]
public string Username { get; init; }
Property Value
Last modified: 21 May 2024