PIbd-22_Aleikin_A.M._Confec.../Confectionery/ConfectioneryContracts/ViewModels/ImplementerViewModel.cs

30 lines
1018 B
C#
Raw Normal View History

2023-05-04 23:45:15 +04:00
using ConfectioneryContracts.Attributes;
using ConfectioneryDataModels.Models;
2023-05-03 23:15:51 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfectioneryContracts.ViewModels
{
public class ImplementerViewModel : IImplementerModel
{
2023-05-04 23:45:15 +04:00
[Column("ФИО исполнителя", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2023-05-03 23:15:51 +04:00
public string ImplementerFIO { get; set; } = string.Empty;
2023-05-04 23:45:15 +04:00
[Column("Пароль", width: 150)]
2023-05-03 23:15:51 +04:00
public string Password { get; set; } = string.Empty;
2023-05-04 23:45:15 +04:00
[Column("Стаж работы", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
2023-05-03 23:15:51 +04:00
public int WorkExperience { get; set; }
2023-05-04 23:45:15 +04:00
[Column("Квалификация", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
2023-05-03 23:15:51 +04:00
public int Qualification { get; set; }
2023-05-04 23:45:15 +04:00
[Column(visible: false)]
2023-05-03 23:15:51 +04:00
public int Id { get; set; }
}
}