feat(api): UserController - CRUD, RoleController
This commit is contained in:
17
PARR.API/Contracts/V1/Responses/UserResponse.cs
Normal file
17
PARR.API/Contracts/V1/Responses/UserResponse.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class UserResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset DateCreated { get; set; }
|
||||
|
||||
public required string Ip { get; set; }
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public List<RoleResponse>? Roles { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user