PIbd-23_Elatomtsev_L.K._SUB.../DeviceContracts/ViewModels/StaffViewModel.cs
2024-05-13 09:00:08 +04:00

22 lines
802 B
C#

using DeviceDataModels.Enums;
using DeviceDataModels.Models;
using System.ComponentModel;
namespace DeviceContracts.ViewModels
{
public class StaffViewModel : IStaffModel
{
public int Id { get; set; }
[DisplayName("ФИО")]
public string FullName { get; set; } = string.Empty;
[DisplayName("Отдел")]
public string Department { get; set; } = string.Empty;
[DisplayName("Почта")]
public string Email { get; set; } = string.Empty;
[DisplayName("Пароль")]
public string Password { get; set; } = string.Empty;
[DisplayName("Уровень доступа")]
public AccessLevel AccessLevel { get; }
public Dictionary<int, IKitModel> Ownership { get; set; }
= new();
}
}