PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantContracts/ViewModels/ImplementerViewModel.cs

49 lines
1.3 KiB
C#
Raw Normal View History

2024-05-13 02:01:32 +04:00
using AircraftPlantContracts.Attributes;
using AircraftPlantDataModels.Models;
2024-04-20 22:35:38 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.ViewModels
{
/// <summary>
/// Модель для передачи данных пользователю
/// для отображения для исполнителей
/// </summary>
public class ImplementerViewModel : IImplementerModel
{
2024-05-13 02:01:32 +04:00
/// <summary>
/// Идентификатор
/// </summary>
[Column(visible: false)]
public int Id { get; set; }
2024-04-20 22:35:38 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// ФИО исполнителя
/// </summary>
[Column(title: "ФИО исполнителя", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ImplementerFIO { get; set; } = string.Empty;
2024-04-20 22:35:38 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// Пароль
/// </summary>
[Column(title: "Пароль", width: 150)]
public string Password { get; set; } = string.Empty;
2024-04-20 22:35:38 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// Опыт работы
/// </summary>
[Column(title: "Опыт работы", width: 100)]
public int WorkExperience { get; set; }
2024-04-20 22:35:38 +04:00
2024-05-13 02:01:32 +04:00
/// <summary>
/// Квалификация
/// </summary>
[Column(title: "Квалификация", width: 100)]
public int Qualification { get; set; }
2024-04-20 22:35:38 +04:00
}
}