Init Commit
This commit is contained in:
32
Backend/MotoresArgentinosV2.Core/DTOs/UserDtos.cs
Normal file
32
Backend/MotoresArgentinosV2.Core/DTOs/UserDtos.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace MotoresArgentinosV2.Core.DTOs;
|
||||
|
||||
public class UserDetailDto
|
||||
{
|
||||
public int UserID { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public byte UserType { get; set; }
|
||||
public bool IsBlocked { get; set; }
|
||||
public byte MigrationStatus { get; set; }
|
||||
public bool IsEmailVerified { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
public class UserUpdateDto
|
||||
{
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public byte UserType { get; set; }
|
||||
}
|
||||
|
||||
public class ProfileUpdateDto
|
||||
{
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user