diff --git a/ExpenseApplication/Schemes/Dtos/User.cs b/ExpenseApplication/Schemes/Dtos/User.cs index be2c0ef..0cbff76 100644 --- a/ExpenseApplication/Schemes/Dtos/User.cs +++ b/ExpenseApplication/Schemes/Dtos/User.cs @@ -1,6 +1,36 @@ namespace Infrastructure.Dtos; -public class User +public class CreateUserRequest { - + public string Username { get; set; } + public string Password { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + public string Email { get; set; } + public string Iban { get; set; } + public string Role { get; set; } +} + +public class UpdateUserRequest +{ + public string Username { get; set; } + public string Password { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + public string Email { get; set; } + public string Iban { get; set; } + public string Role { get; set; } + public bool IsActive { get; set; } +} + +public class UserResponse +{ + public string Username { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + public string Email { get; set; } + public string Iban { get; set; } + public string Role { get; set; } + public string IsActive { get; set; } + public string LastActivityDateTime { get; set; } } \ No newline at end of file