You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
679 B
28 lines
679 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model.DTO
|
|
{
|
|
public class UserDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string Username { get; set; }
|
|
public string Password { get; set; }
|
|
public string Email { get; set; }
|
|
public bool IsAdmin { get; set; }
|
|
|
|
public UserDTO() { }
|
|
public UserDTO(int id, string username, string password, string email, bool isAdmin)
|
|
{
|
|
Id = id;
|
|
Username = username;
|
|
Password = password;
|
|
Email = email;
|
|
IsAdmin = isAdmin;
|
|
}
|
|
}
|
|
}
|