User továbbgondolása
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace WorkFlowCheck.Common.DTO
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WorkFlowCheck.Common.DTO
|
||||
{
|
||||
public class UserDTO
|
||||
{
|
||||
@@ -12,4 +14,9 @@
|
||||
public required ICollection<RoleDTO> RoleDTO { get; set; } = new List<RoleDTO>();
|
||||
}
|
||||
|
||||
public class UserSimpleDTO
|
||||
{
|
||||
public string UserName { get; set; } = null!;
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user