Skip to content

Commit

Permalink
User and Category Handler, Controller:ExpenseApplication/Schemes/Dtos…
Browse files Browse the repository at this point in the history
…/User.cs
  • Loading branch information
rsemihkoca committed Jan 20, 2024
1 parent d1523c9 commit bc6a04a
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions ExpenseApplication/Schemes/Dtos/User.cs
Original file line number Diff line number Diff line change
@@ -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; }
}

0 comments on commit bc6a04a

Please sign in to comment.