22 lines
802 B
C#
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();
|
|
}
|
|
} |