33 lines
988 B
C#
33 lines
988 B
C#
|
|
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; }
|
||
|
|
}
|