-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User and Category Handler, Controller:ExpenseApplication/Schemes/Dtos…
…/User.cs
- Loading branch information
1 parent
d1523c9
commit bc6a04a
Showing
1 changed file
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} |