Archived
Added first app template
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace app.Model.DTOs
|
||||
{
|
||||
public class AuthUserDTO
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string EMail { get; set; }
|
||||
public string Password { get; set; }
|
||||
public bool IsConfirmed { get; set; }
|
||||
public AuthRoles AuthRole { get; set; }
|
||||
|
||||
public AuthUser ToAuthUser()
|
||||
{
|
||||
return new AuthUser
|
||||
{
|
||||
Id = this.Id,
|
||||
FirstName = this.FirstName,
|
||||
LastName = this.LastName,
|
||||
EMail = this.EMail,
|
||||
Password = this.Password,
|
||||
AuthRole = this.AuthRole
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user