PIbd-21_Balberova_D.N._Sush.../SushiBar/SushiBarContracts/ViewModels/ImplementerViewModel.cs

27 lines
909 B
C#
Raw Normal View History

using SushiBarContracts.Attributes;
using SushiBarDataModels.Models;
2023-04-10 21:11:09 +04:00
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
/// <summary>
/// Исполнитель, выполняющий заказы
/// </summary>
public class ImplementerViewModel : IImplementerModel
{
[Column(visible: false)]
2023-04-10 21:11:09 +04:00
public int Id { get; set; }
[Column(title: "ФИО исполнителя", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2023-04-10 21:11:09 +04:00
public string ImplementerFIO { get; set; } = string.Empty;
[Column(title: "Пароль", width: 100)]
2023-04-10 21:11:09 +04:00
public string Password { get; set; } = string.Empty;
[Column(title: "Стаж работы", width: 50)]
2023-04-10 21:11:09 +04:00
public int WorkExperience { get; set; }
[Column(title: "Квалификация", width: 50)]
2023-04-10 21:11:09 +04:00
public int Qualification { get; set; }
}
}