31 lines
641 B
C#
31 lines
641 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FamilyTreeAPI.Entities;
|
|
|
|
/*
|
|
* ROLE ID
|
|
* Normal = 1,
|
|
Admin = 2,
|
|
Manager =3,
|
|
*/
|
|
|
|
public class UserDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Username { get; set; }
|
|
public string? Department { get; set; }
|
|
public string? Phone { get; set; }
|
|
public string? Position { get; set; }
|
|
public string? ManagerEmail { get; set; }
|
|
public int Role { get; set; }
|
|
|
|
}
|
|
|
|
|