PIbd-22_Karamushko_M_K_Pizz.../Pizzeria/PizzeriaContracts/ViewModels/ImplementerViewModel.cs

23 lines
885 B
C#
Raw Normal View History

2023-05-05 00:09:30 +04:00
using PizzeriaContracts.Attributes;
using PizzeriaDataModels.Models;
2023-04-11 09:29:12 +04:00
using System.ComponentModel;
namespace PizzeriaContracts.ViewModels
{
public class ImplementerViewModel : IImplementerModel
{
2023-05-05 00:09:30 +04:00
[Column(visible: false)]
2023-04-11 09:29:12 +04:00
public int Id { get; set; }
2023-05-05 00:09:30 +04:00
[Column("ФИО исполнителя", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2023-04-11 09:29:12 +04:00
public string ImplementerFIO { get; set; } = string.Empty;
2023-05-05 00:09:30 +04:00
[Column("Пароль", width: 150)]
2023-04-11 09:29:12 +04:00
public string Password { get; set; } = string.Empty;
2023-05-05 00:09:30 +04:00
[Column("Стаж работы", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
2023-04-11 09:29:12 +04:00
public int WorkExperience { get; set; }
2023-05-05 00:09:30 +04:00
[Column("Квалификация", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
2023-04-11 09:29:12 +04:00
public int Qualification { get; set; }
}
}