PIbd-22_Chernyshev_G.J._30_.../GarmentFactoryContracts/ViewModels/ImplementerViewModel.cs

30 lines
870 B
C#

using GarmentFactoryContracts.Attributes;
using GarmentFactoryDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GarmentFactoryContracts.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: "Пароль", width: 100)]
public string Password { get; set; } = string.Empty;
[Column(title: "Стаж работы", width: 50)]
public int WorkExperience { get; set; }
[Column(title: "Квалификация", width: 50)]
public int Qualification { get; set; }
}
}