PIbd-23-Yunusov-N.N.-CarRep.../CarRepairShop/CarRepairShopContracts/ViewModels/ImplementerViewModel.cs

20 lines
830 B
C#

using CarRepairShopContracts.Attributes;
using CarRepairShopDataModels;
namespace CarRepairShopContracts.ViewModels
{
public class ImplementerViewModel : IImplementerModel
{
[Column(visible: false)]
public int Id { get; set; }
[Column(title: "ФИО исполнителя", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ImplementerFIO { get; set; } = string.Empty;
[Column(title:"Стаж работы", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
public int WorkExperience { get; set; } = 0;
[Column(title: "Квалификация", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
public int Qualification { get; set; } = 0;
[Column(title: "Пароль", width: 150)]
public string Password { get; set; } = string.Empty;
}
}